summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-10-19 20:40:40 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2011-10-19 20:40:40 +0200
commitb9194f51651a9924742ad1d5e79f9dd9b9f7505e (patch)
treef8c3353b341dc6e6fe282f31dcc273f409db46f5
parentFix my previous commit (diff)
downloadrekonq-b9194f51651a9924742ad1d5e79f9dd9b9f7505e.tar.xz
Fix the recover on crash bar which is too big to fit on the screen when rekonq is maximised.
It needs to be initialized a bit later.. REVIEW: 102868
-rw-r--r--src/application.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index d770b3d1..39b2af60 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -178,7 +178,6 @@ int Application::newInstance()
if (isRekonqCrashed && isFirstLoad)
{
loadUrl(KUrl("about:closedTabs"), Rekonq::NewWindow);
- mainWindow()->currentTab()->showMessageBar();
}
if (areThereArguments)
@@ -294,6 +293,10 @@ void Application::postLaunch()
instance(), SLOT(loadUrl(const KUrl&, const Rekonq::OpenType&)));
// crash recovering
+ if (ReKonfig::recoverOnCrash())
+ {
+ mainWindow()->currentTab()->showMessageBar();
+ }
ReKonfig::setRecoverOnCrash(ReKonfig::recoverOnCrash() + 1);
saveConfiguration();
}