diff options
Diffstat (limited to 'src/plugins/help/openpagesmanager.cpp')
-rw-r--r-- | src/plugins/help/openpagesmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/openpagesmanager.cpp b/src/plugins/help/openpagesmanager.cpp index 4298b3f9a9..563030d461 100644 --- a/src/plugins/help/openpagesmanager.cpp +++ b/src/plugins/help/openpagesmanager.cpp @@ -196,7 +196,7 @@ HelpViewer *OpenPagesManager::createPageFromSearch(const QUrl &url) HelpViewer *OpenPagesManager::createPage(const QUrl &url, bool fromSearch) { - if (HelpViewer::launchWithExternalApp(url)) + if (url.isValid() && HelpViewer::launchWithExternalApp(url)) return 0; m_model->addPage(url); |