summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index ede503a5..cc7f7f10 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -97,6 +97,13 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
KToolInvocation::invokeMailer(m_requestedUrl);
return false;
}
+
+ if(m_requestedUrl.scheme() == QLatin1String("home"))
+ {
+ Application::instance()->mainWindow()->slotHome();
+ return false;
+ }
+
if (m_keyboardModifiers & Qt::ControlModifier || m_pressedButtons == Qt::MidButton)
{