From 7570ac569271753a5956b50de4fb3f950376eca2 Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Wed, 20 Oct 2010 09:29:14 +0200 Subject: Fix icons duplication in the urlbar if a bookmark is added during a page loading --- src/mainview.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mainview.cpp') 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")) -- cgit v1.2.1