Commit e14f2d2c authored by Andy Shaw's avatar Andy Shaw Committed by The Qt Project
Browse files

Make mailto links when used inside the documentation


[ChangeLog][Qt Assistant][Make mailto links work again in Qt Assistant]

Change-Id: Iec15c27bbced7848c800193723399b4e4abc11b9
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -171,7 +171,7 @@ bool HelpViewer::launchWithExternalApp(const QUrl &url) ...@@ -171,7 +171,7 @@ bool HelpViewer::launchWithExternalApp(const QUrl &url)
actualTmpFile.close(); actualTmpFile.close();
return QDesktopServices::openUrl(QUrl(actualTmpFile.fileName())); 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 QDesktopServices::openUrl(url);
} }
return false; return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment