summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2013-12-16 09:14:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-16 09:21:35 +0100
commite14f2d2c85c92fc7ecd4b9032632ffa7bcfbc7ab (patch)
treea6e4fb00485ac52d3653ad1e769708fb0a59e5be
parente78d4db64b3a20b691e63e8f8eb62f642128c21b (diff)
Make mailto links when used inside the documentation
[ChangeLog][Qt Assistant][Make mailto links work again in Qt Assistant] Change-Id: Iec15c27bbced7848c800193723399b4e4abc11b9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r--src/assistant/assistant/helpviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assistant/assistant/helpviewer.cpp b/src/assistant/assistant/helpviewer.cpp
index 13c76cbb3..2a1b615af 100644
--- a/src/assistant/assistant/helpviewer.cpp
+++ b/src/assistant/assistant/helpviewer.cpp
@@ -171,7 +171,7 @@ bool HelpViewer::launchWithExternalApp(const QUrl &url)
actualTmpFile.close();
return QDesktopServices::openUrl(QUrl(actualTmpFile.fileName()));
}
- } else if (url.scheme() == QLatin1String("http")) {
+ } else if (url.scheme() == QLatin1String("http") || url.scheme() == QLatin1String("mailto")) {
return QDesktopServices::openUrl(url);
}
return false;