diff options
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 8d605a81..1f7738ea 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -69,8 +69,6 @@ WebPage::WebPage(QObject *parent) : KWebPage(parent, KWalletIntegration) - , m_keyboardModifiers(Qt::NoModifier) - , m_pressedButtons(Qt::NoButton) { // rekonq own classes integration setNetworkAccessManager(new NetworkAccessManager(this)); @@ -101,14 +99,6 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r if(risp == KMessageBox::Cancel) return false; } - - if (m_keyboardModifiers & Qt::ControlModifier || m_pressedButtons == Qt::MidButton) - { - Application::instance()->loadUrl(request.url(), Rekonq::SettingOpenTab); - m_keyboardModifiers = Qt::NoModifier; - m_pressedButtons = Qt::NoButton; - return false; - } if (request.url().scheme() == QLatin1String("mailto")) { |