KDE and windows compile fixes

This commit is contained in:
craig.p.drummond
2012-10-30 20:48:28 +00:00
committed by craig.p.drummond
parent 24a4b089e9
commit 3ebcf66f61
3 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ int Application::newInstance() {
KCmdLineArgs *args(KCmdLineArgs::parsedArgs());
QStringList urls;
for (int i = 0; i < args->count(); ++i) {
urls.append(args->url(i));
urls.append(args->arg(i));
}
if (!urls.isEmpty()) {
w->load(urls);
@@ -108,7 +108,7 @@ void Application::mwDestroyed(QObject *obj)
}
}
#elif Q_OS_WIN
#elif defined Q_OS_WIN
Application::Application(int &argc, char **argv)
: QtSingleApplication(argc, argv)
{