summaryrefslogtreecommitdiff
path: root/src/plugins/help/helpviewer_qwv.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-01-11 13:16:12 +0100
committerkh1 <qt-info@nokia.com>2011-01-11 13:16:12 +0100
commitfd89e85850ee90e8e7213750e7b19178a424d11f (patch)
treea42503c118c950806a3287463625d32e5eec5a14 /src/plugins/help/helpviewer_qwv.cpp
parentae83b4b7b634b5f123ac7230718f87d7587f777d (diff)
downloadqt-creator-fd89e85850ee90e8e7213750e7b19178a424d11f.tar.gz
Fix missing progress indicator during load.
Task-number: QTCREATORBUG-3380
Diffstat (limited to 'src/plugins/help/helpviewer_qwv.cpp')
-rw-r--r--src/plugins/help/helpviewer_qwv.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/help/helpviewer_qwv.cpp b/src/plugins/help/helpviewer_qwv.cpp
index 6ea9e54092..988183c4ef 100644
--- a/src/plugins/help/helpviewer_qwv.cpp
+++ b/src/plugins/help/helpviewer_qwv.cpp
@@ -258,7 +258,8 @@ HelpViewer::HelpViewer(qreal zoom, QWidget *parent)
connect(pageAction(QWebPage::Forward), SIGNAL(changed()), this,
SLOT(actionChanged()));
connect(this, SIGNAL(urlChanged(QUrl)), this, SIGNAL(sourceChanged(QUrl)));
- connect(this, SIGNAL(loadFinished(bool)), this, SLOT(setLoadFinished(bool)));
+ connect(this, SIGNAL(loadStarted()), this, SLOT(slotLoadStarted()));
+ connect(this, SIGNAL(loadFinished(bool)), this, SLOT(slotLoadFinished(bool)));
connect(this, SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged()));
connect(page(), SIGNAL(printRequested(QWebFrame*)), this, SIGNAL(printRequested()));
@@ -435,12 +436,6 @@ void HelpViewer::actionChanged()
emit forwardAvailable(a->isEnabled());
}
-void HelpViewer::setLoadFinished(bool ok)
-{
- Q_UNUSED(ok)
- emit sourceChanged(source());
-}
-
// -- private
bool HelpViewer::eventFilter(QObject *obj, QEvent *event)