diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 3 | ||||
-rw-r--r-- | src/mainwindow.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp index 71693a7a..8a24014d 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -224,7 +224,8 @@ int Application::newInstance() if(isFirstLoad) { - QTimer::singleShot(0, this, SLOT(postLaunch())); + // give me some time to do the other things.. + QTimer::singleShot(100, this, SLOT(postLaunch())); } return exitValue; diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 5d0d1d0c..cbef274a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -152,7 +152,8 @@ MainWindow::MainWindow() // no more status bar.. setStatusBar(0); - QTimer::singleShot(0, this, SLOT(postLaunch())); + // give me some time to do all the other stuffs... + QTimer::singleShot(100, this, SLOT(postLaunch())); kDebug() << "MainWindow ctor...DONE"; } |