From 6c5c2312ca5477a1ec33f43c1673ab65a0dce8bb Mon Sep 17 00:00:00 2001 From: ck Date: Thu, 14 Jan 2010 16:17:21 +0100 Subject: Assistant: Extend list of file types to open internally. --- tools/assistant/tools/assistant/helpviewer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/assistant/tools/assistant/helpviewer.cpp b/tools/assistant/tools/assistant/helpviewer.cpp index 4141d64..bd75f3a 100644 --- a/tools/assistant/tools/assistant/helpviewer.cpp +++ b/tools/assistant/tools/assistant/helpviewer.cpp @@ -626,7 +626,8 @@ bool HelpViewer::canOpenPage(const QString &url) { TRACE_OBJ return url.endsWith(QLatin1String(".html"), Qt::CaseInsensitive) - || url.endsWith(QLatin1String(".htm"), Qt::CaseInsensitive); + || url.endsWith(QLatin1String(".htm"), Qt::CaseInsensitive) + || url == QLatin1String("blank"); } bool HelpViewer::isLocalUrl(const QUrl &url) -- cgit v0.12