summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-15 02:50:31 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-15 02:50:31 +0100
commit90c5f4150dac9029bbbdb408578df26555c5adf2 (patch)
treebe6f0d54bbe5a032df56e7ae6af33ac35bd35b01 /src/webpage.cpp
parentrekonq 0.3.21 (diff)
downloadrekonq-90c5f4150dac9029bbbdb408578df26555c5adf2.tar.xz
Simpler web classes (but no more friends :)
Moved remaining code to kdewebkit
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp10
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"))
{