diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-10 22:49:52 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-10 22:49:52 +0200 |
commit | 5b0de25722655673fcfc11a5c92fdfee188e55a5 (patch) | |
tree | a49471395e068e1549a711d8807470bf0b4e6df4 /src/webpage.cpp | |
parent | Added support for bookmark icons. Not yet working.. (diff) | |
download | rekonq-5b0de25722655673fcfc11a5c92fdfee188e55a5.tar.xz |
Removed "home" scheme
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index cc7f7f10..274f8d60 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -97,14 +97,7 @@ 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) { Application::instance()->loadUrl(request.url(), Rekonq::SettingOpenTab); |