summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/help/helpviewer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/help/helpviewer.cpp b/src/plugins/help/helpviewer.cpp
index e2cac11fc9..f1a568e918 100644
--- a/src/plugins/help/helpviewer.cpp
+++ b/src/plugins/help/helpviewer.cpp
@@ -138,6 +138,10 @@ bool HelpViewer::launchWithExternalApp(const QUrl &url)
const QUrl &resolvedUrl = helpEngine.findFile(url);
if (!resolvedUrl.isValid())
return false;
+ // Workaround QTBUG-71833
+ // QHelpEngineCore::findFile returns a valid url even though the file does not exist
+ if (resolvedUrl.scheme() == "about" && resolvedUrl.path() == "blank")
+ return false;
const QString& path = resolvedUrl.path();
if (!canOpenPage(path)) {