Changeset View
Changeset View
Standalone View
Standalone View
main.cpp
Context not available. | |||||
18 | #include <QApplication> | 18 | #include <QApplication> | ||
---|---|---|---|---|---|
19 | #include <QCommandLineParser> | 19 | #include <QCommandLineParser> | ||
20 | #include <QCommandLineOption> | 20 | #include <QCommandLineOption> | ||
21 | #include <QDir> | ||||
21 | 22 | | |||
22 | #include <KAboutData> | 23 | #include <KAboutData> | ||
23 | #include <KLocalizedString> | 24 | #include <KLocalizedString> | ||
Context not available. | |||||
86 | kimeShell->setStdout(parser.isSet("stdout")); | 87 | kimeShell->setStdout(parser.isSet("stdout")); | ||
87 | kimeShell->readConfig(); | 88 | kimeShell->readConfig(); | ||
88 | kimeShell->show(); | 89 | kimeShell->show(); | ||
89 | kimeShell->openFile(parser.positionalArguments().at(i)); | 90 | kimeShell->openFile(QUrl::fromUserInput(parser.positionalArguments().at(i), QDir::currentPath(), QUrl::AssumeLocalFile)); | ||
90 | } | 91 | } | ||
91 | } | 92 | } | ||
92 | 93 | | |||
Context not available. |