diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-11 01:37:46 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-11 01:37:46 +0200 |
commit | 9133b9a5cb7889e28d0ec7d14e0599fdff471241 (patch) | |
tree | fb30d29d7e229c43ac5dc7b634087d84a64dfc82 /src | |
parent | rekonq 0.5.54 (diff) | |
download | rekonq-9133b9a5cb7889e28d0ec7d14e0599fdff471241.tar.xz |
Delaying single shots to let rekonq have more time to show itself before...
It seems working pretty well here.
Ready to revert if something seems wrong about this
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"; } |