summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-26 23:18:10 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-26 23:18:10 +0200
commit3650ba638a729bc072da37120dc41a85bf491f22 (patch)
tree31297100685e23430565aab5c43a35df297fdc40 /src/webview.cpp
parentRemoved KDE VERSION check. tabbar needs some love.. (diff)
downloadrekonq-3650ba638a729bc072da37120dc41a85bf491f22.tar.xz
KDE mail Tool Invocation
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 3bf7a20f..78f0e734 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -43,6 +43,7 @@
#include <KUrl>
#include <KActionCollection>
#include <KDebug>
+#include <KToolInvocation>
// Qt Includes
#include <QtCore>
@@ -74,7 +75,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
QString scheme = request.url().scheme();
if (scheme == QLatin1String("mailto") )
{
- QDesktopServices::openUrl(request.url());
+ KToolInvocation::invokeMailer(request.url());
return false;
}