From b9194f51651a9924742ad1d5e79f9dd9b9f7505e Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Wed, 19 Oct 2011 20:40:40 +0200 Subject: 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 --- src/application.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/application.cpp') 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(); } -- cgit v1.2.1