summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-04-25 01:25:29 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-25 01:25:29 +0200
commit9059f60ea19df8ee85d4bb55c8583d85e059ab29 (patch)
tree45de1d0922f325859eea947524ef8fe73d1c0065
parentClean up url management (diff)
downloadrekonq-9059f60ea19df8ee85d4bb55c8583d85e059ab29.tar.xz
Fix a regression from previous commit
(crashbar exiting on external calls)
-rw-r--r--src/application.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 27a6490c..ef6c2085 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -310,17 +310,17 @@ int Application::newInstance()
}
}
- if (isRekonqCrashed)
- {
- QTimer::singleShot(1000, mainWindow()->currentTab(), SLOT(showMessageBar()));
- }
- else
- {
- sessionManager()->setSessionManagementEnabled(true);
- }
-
if (isFirstLoad)
{
+ if (isRekonqCrashed)
+ {
+ QTimer::singleShot(1000, mainWindow()->currentTab(), SLOT(showMessageBar()));
+ }
+ else
+ {
+ sessionManager()->setSessionManagementEnabled(true);
+ }
+
if (ReKonfig::checkDefaultSearchEngine() && !isRekonqCrashed && SearchEngine::defaultEngine().isNull())
QTimer::singleShot(2000, mainWindow()->currentTab(), SLOT(showSearchEngineBar()));