diff options
author | ck <qt-info@nokia.com> | 2010-01-14 10:37:17 (GMT) |
---|---|---|
committer | ck <qt-info@nokia.com> | 2010-01-14 10:37:17 (GMT) |
commit | 90563926e2d68a468bb9accdbad9760da21d5ba3 (patch) | |
tree | d4df802d325ed7be74defb94bdd693de1e9dce47 /tools/assistant | |
parent | 54d1ad11a4f35c0484418e5d18537daaccc2c6ab (diff) | |
download | Qt-90563926e2d68a468bb9accdbad9760da21d5ba3.zip Qt-90563926e2d68a468bb9accdbad9760da21d5ba3.tar.gz Qt-90563926e2d68a468bb9accdbad9760da21d5ba3.tar.bz2 |
Assistant: Extend 54d1ad11a4f35c0484418e5d18537daaccc2c6ab.
Forgot one place.
Diffstat (limited to 'tools/assistant')
-rw-r--r-- | tools/assistant/tools/assistant/aboutdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/assistant/tools/assistant/aboutdialog.cpp b/tools/assistant/tools/assistant/aboutdialog.cpp index ba93351..5727528 100644 --- a/tools/assistant/tools/assistant/aboutdialog.cpp +++ b/tools/assistant/tools/assistant/aboutdialog.cpp @@ -38,6 +38,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ +#include "helpviewer.h" #include "tracer.h" #include <QtCore/QBuffer> @@ -97,7 +98,7 @@ void AboutLabel::setSource(const QUrl &url) TRACE_OBJ if (url.isValid() && (url.scheme() == QLatin1String("http") || url.scheme() == QLatin1String("ftp") - || url.scheme() == QLatin1String("mailto") || url.path().endsWith(QLatin1String("pdf")))) { + || url.scheme() == QLatin1String("mailto") || !HelpViewer::canOpenPage(url.path()))) { if (!QDesktopServices::openUrl(url)) { QMessageBox::warning(this, tr("Warning"), tr("Unable to launch external application.\n"), |