summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-10-20 09:29:14 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-10-20 09:32:23 +0200
commit7570ac569271753a5956b50de4fb3f950376eca2 (patch)
tree78f7a7214a0ba770802bfa66cdfab45f9df11d5c /src/mainview.cpp
parentMerge branch 'master' of git.kde.org:rekonq (diff)
downloadrekonq-7570ac569271753a5956b50de4fb3f950376eca2.tar.xz
Fix icons duplication in the urlbar if a bookmark is added during a page loading
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index d263111a..4ccbe937 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -284,11 +284,7 @@ void MainView::currentChanged(int index)
emit showStatusBarMessage(QString());
// notify UI to eventually switch stop/reload button
- int progr = tab->progress();
- if (progr == 0)
- emit browserTabLoading(false);
- else
- emit browserTabLoading(true);
+ emit browserTabLoading(tab->isPageLoading());
// set focus to the current webview
if (tab->url().scheme() == QL1S("about"))