summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-01-12 09:00:18 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2010-01-12 09:00:18 (GMT)
commitab2f88e3cfbf43afd536b9946a40e936c3dcee35 (patch)
tree242e0dfab214e7232babec6feb006684041d149e /tools
parentb73b5e5a99418cef3b218435382724ab71999558 (diff)
downloadQt-ab2f88e3cfbf43afd536b9946a40e936c3dcee35.zip
Qt-ab2f88e3cfbf43afd536b9946a40e936c3dcee35.tar.gz
Qt-ab2f88e3cfbf43afd536b9946a40e936c3dcee35.tar.bz2
Fix compilation of builds without WebKit
Diffstat (limited to 'tools')
-rw-r--r--tools/assistant/tools/assistant/centralwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/tools/assistant/centralwidget.cpp b/tools/assistant/tools/assistant/centralwidget.cpp
index 638b8d2..0f57628 100644
--- a/tools/assistant/tools/assistant/centralwidget.cpp
+++ b/tools/assistant/tools/assistant/centralwidget.cpp
@@ -1190,7 +1190,7 @@ void CentralWidget::closeOrReloadTabs(const QList<int> &indices, bool tryReload)
if (tryReload) {
HelpViewer *viewer =
qobject_cast<HelpViewer*>(tabWidget->widget(tab));
- if (HelpEngineWrapper::instance().findFile(viewer->url()).isValid()) {
+ if (HelpEngineWrapper::instance().findFile(viewer->source()).isValid()) {
viewer->reload();
close = false;
}