Fix missing progress indicator during load.

Task-number: QTCREATORBUG-3380
This commit is contained in:
kh1
2011-01-11 13:16:12 +01:00
parent ae83b4b7b6
commit fd89e85850
4 changed files with 17 additions and 15 deletions

View File

@@ -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)