summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
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"))