summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-11 23:52:40 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-02-15 09:17:40 +0100
commita3b057ecbc5993196f61693abe7355740a17cee1 (patch)
tree1a6c32c3e17a5bdaa3b82751d993489a8a1a599b /src/application.cpp
parent/bin/grep --> grep (diff)
downloadrekonq-a3b057ecbc5993196f61693abe7355740a17cee1.tar.xz
Delay showMessageBar creation to get sure it is created after window
This should fix Yoann's problem with bar and let us have a little bit clean API in webtab REVIEW:103905
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index d8044e24..1bf7b556 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -205,7 +205,7 @@ int Application::newInstance()
if (isRekonqCrashed && isFirstLoad)
{
loadUrl(KUrl("about:closedTabs"), Rekonq::NewWindow);
- mainWindow()->currentTab()->showMessageBar();
+ QTimer::singleShot(1000, mainWindow()->currentTab(), SLOT(showMessageBar()));
}
if (areThereArguments)