From 3650ba638a729bc072da37120dc41a85bf491f22 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 26 Apr 2009 23:18:10 +0200 Subject: KDE mail Tool Invocation --- TODO | 2 +- src/webview.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 9575a2a2..b883b7d8 100644 --- a/TODO +++ b/TODO @@ -50,7 +50,7 @@ LONG TERM FIXES - copyright question (ALMOST DONE) - loading urlbar (DONE) - fullscreen action impr (DONE) - - mailto KDE loading + - mailto KDE loading (DONE) - unit tests - webview Arora tmp fix (DONE) - ? 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 #include #include +#include // Qt Includes #include @@ -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; } -- cgit v1.2.1