summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 3fc0aac4..accf0e44 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -100,18 +100,9 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
return false;
}
- if (request.url().scheme() == QLatin1String("mailto"))
- {
- KToolInvocation::invokeMailer(request.url());
+ if(m_protHandler.handle(request,frame))
return false;
- }
-
- if (request.url().scheme() == QLatin1String("about"))
- {
- Application::instance()->mainWindow()->newTabPage( request.url() );
- return true;
- }
-
+
m_requestedUrl = request.url();
return KWebPage::acceptNavigationRequest(frame, request, type);