diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index b1b5c850..e9c1acd8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -734,14 +734,13 @@ int runApplication(MOApplication &application, SingleInstance &instance, QObject::connect(&instance, SIGNAL(messageSent(QString)), &organizer, SLOT(externalMessage(QString))); - // this must be before readSettings(), see DockFixer in mainwindow.cpp - splash.finish(&mainWindow); - log::debug("displaying main window"); mainWindow.show(); mainWindow.activateWindow(); - splash.finish(&mainWindow); + // don't pass mainwindow as it just waits half a second for it + // instead of proceding + splash.finish(nullptr); res = application.exec(); mainWindow.close(); |
