summaryrefslogtreecommitdiff
path: root/src/webtab/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-16 18:03:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit44505a48200f16cc3c299d69383b017dba9ce1a9 (patch)
treed9e3a955b803598bafcd97a3e78b4f111f744a76 /src/webtab/webtab.cpp
parentclean up urlbar url loading. We really are lighter now :) (diff)
downloadrekonq-44505a48200f16cc3c299d69383b017dba9ce1a9.tar.xz
Re-enable the restore on crash message bar :)
Diffstat (limited to 'src/webtab/webtab.cpp')
-rw-r--r--src/webtab/webtab.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index 1a4c0fe2..549fa285 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -37,7 +37,7 @@
#include "sessionmanager.h"
#include "syncmanager.h"
-#include "messagebar.h"
+#include "crashmessagebar.h"
#include "previewselectorbar.h"
#include "searchenginebar.h"
#include "walletbar.h"
@@ -279,9 +279,9 @@ void WebTab::setPart(KParts::ReadOnlyPart *p, const KUrl &u)
}
-void WebTab::showMessageBar()
+void WebTab::showCrashMessageBar()
{
- MessageBar *msgBar = new MessageBar(i18n("It seems rekonq was not closed properly. Do you want "
+ CrashMessageBar *msgBar = new CrashMessageBar(i18n("It seems rekonq was not closed properly. Do you want "
"to restore the last saved session?"), this);
qobject_cast<QVBoxLayout *>(layout())->insertWidget(0, msgBar);