From ab2f88e3cfbf43afd536b9946a40e936c3dcee35 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 12 Jan 2010 10:00:18 +0100 Subject: Fix compilation of builds without WebKit --- tools/assistant/tools/assistant/centralwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &indices, bool tryReload) if (tryReload) { HelpViewer *viewer = qobject_cast(tabWidget->widget(tab)); - if (HelpEngineWrapper::instance().findFile(viewer->url()).isValid()) { + if (HelpEngineWrapper::instance().findFile(viewer->source()).isValid()) { viewer->reload(); close = false; } -- cgit v0.12