summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 1eba22a1..9b1a31f9 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -85,7 +85,6 @@ WebTab::WebTab(QWidget *parent)
}
connect(m_webView, SIGNAL(loadProgress(int)), this, SLOT(updateProgress(int)));
- connect(m_webView, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished(bool)));
connect(m_webView, SIGNAL(titleChanged(const QString &)), this, SIGNAL(titleChanged(const QString &)));
// Session Manager
@@ -120,15 +119,9 @@ void WebTab::updateProgress(int p)
}
-void WebTab::loadFinished(bool)
-{
- m_progress = 0;
-}
-
-
bool WebTab::isPageLoading()
{
- return m_progress != 0;
+ return m_progress != 0 && m_progress != 100;
}