summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-06 22:46:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-06 22:46:16 +0200
commit67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd (patch)
tree2cf2c3b2034265ee4111cce99c03466c6314c745 /src/webview.cpp
parentFixed a line that was calling QString::startsWith() without args. Fixed build. (diff)
downloadrekonq-67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd.tar.xz
Fix adblock hide behavior
NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 9d2d72aa..4ebd5a9b 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -104,13 +104,13 @@ WebView::~WebView()
}
-void WebView::load (const QUrl &url)
+void WebView::load(const QUrl &url)
{
load(QNetworkRequest(url));
}
-void WebView::load (const QNetworkRequest &req, QNetworkAccessManager::Operation op, const QByteArray &body)
+void WebView::load(const QNetworkRequest &req, QNetworkAccessManager::Operation op, const QByteArray &body)
{
QNetworkRequest request = req;
const QUrl &reqUrl = request.url();
@@ -487,7 +487,7 @@ void WebView::mousePressEvent(QMouseEvent *event)
default:
break;
};
-
+
KWebView::mousePressEvent(event);
}
@@ -1248,7 +1248,7 @@ void WebView::mouseReleaseEvent(QMouseEvent *event)
event->accept();
return;
}
-
+
emit loadUrl(url, Rekonq::NewTab);
event->accept();
return;