summaryrefslogtreecommitdiff
path: root/src/shared/help/contentwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/help/contentwindow.cpp')
-rw-r--r--src/shared/help/contentwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/help/contentwindow.cpp b/src/shared/help/contentwindow.cpp
index b29e648005..7b5504896b 100644
--- a/src/shared/help/contentwindow.cpp
+++ b/src/shared/help/contentwindow.cpp
@@ -162,7 +162,7 @@ void ContentWindow::itemClicked(const QModelIndex &index)
if (contentModel) {
if (QHelpContentItem *itm = contentModel->contentItemAt(index)) {
const QUrl &url = itm->url();
- if (url != CentralWidget::instance()->currentHelpViewer()->source())
+ if (url != CentralWidget::instance()->currentViewer()->source())
emit linkActivated(itm->url());
}
}