summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-24 16:11:08 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-24 16:11:08 +0100
commitad14cf95df6e432f747ff1d144621523f837e2b1 (patch)
treef622b0a8fb0e0b0e5a49a14c9a54e23ab8c8064b /src/mainview.cpp
parentreorganizing a bit .kcfg file.. (diff)
downloadrekonq-ad14cf95df6e432f747ff1d144621523f837e2b1.tar.xz
Again and again.. :)
Saving one QString for each tab..
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index bad6999b..e2f9094f 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -294,15 +294,17 @@ void MainView::currentChanged(int index)
connect(tab->view(), SIGNAL(loadFinished(bool)), urlBar(), SLOT(loadFinished(bool)));
connect(tab->view(), SIGNAL(urlChanged(const QUrl &)), urlBar(), SLOT(setUrl(const QUrl &)));
- connect(tab->view()->page(), SIGNAL(statusBarMessage(const QString&)),
+ connect(tab->page(), SIGNAL(statusBarMessage(const QString&)),
this, SIGNAL(showStatusBarMessage(const QString&)));
- connect(tab->view()->page(), SIGNAL(linkHovered(const QString&, const QString&, const QString&)),
+ connect(tab->page(), SIGNAL(linkHovered(const QString&, const QString&, const QString&)),
this, SIGNAL(linkHovered(const QString&)));
emit setCurrentTitle(tab->view()->title());
urlBar()->setUrl(tab->view()->url());
urlBar()->setProgress(tab->progress());
- emit showStatusBarMessage(tab->lastStatusBarText());
+
+ // clean up "status bar"
+ emit showStatusBarMessage( QString() );
// notify UI to eventually switch stop/reload button
if(urlBar()->isLoading())