summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2010-01-14 15:17:21 (GMT)
committerck <qt-info@nokia.com>2010-01-14 15:17:21 (GMT)
commit6c5c2312ca5477a1ec33f43c1673ab65a0dce8bb (patch)
treed8a9eecea050b58342de44286065f5f3e9d5ea24 /tools
parent9fc2d9630169cd2466f113e259b5cae73baeb1c8 (diff)
downloadQt-6c5c2312ca5477a1ec33f43c1673ab65a0dce8bb.zip
Qt-6c5c2312ca5477a1ec33f43c1673ab65a0dce8bb.tar.gz
Qt-6c5c2312ca5477a1ec33f43c1673ab65a0dce8bb.tar.bz2
Assistant: Extend list of file types to open internally.
Diffstat (limited to 'tools')
-rw-r--r--tools/assistant/tools/assistant/helpviewer.cpp3
1 files changed, 2 insertions, 1 deletions
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)