Let the desktop system handle mailto links.

Task-number: QTCREATORBUG-4058

Change-Id: If48f8150bc05418c3ac0b9e132b84ed7836e08fa
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
kh1
2012-05-09 17:08:15 +02:00
committed by Karsten Heimrich
parent 5d92a73c82
commit c1fbe9ddb1

View File

@@ -145,6 +145,10 @@ bool HelpViewer::launchWithExternalApp(const QUrl &url)
return QDesktopServices::openUrl(QUrl(saver.fileName()));
}
}
if (url.scheme() == QLatin1String("mailto"))
return QDesktopServices::openUrl(url);
return false;
}