summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}