summaryrefslogtreecommitdiff
path: root/kwebapp/webpage.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 /kwebapp/webpage.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 'kwebapp/webpage.cpp')
-rw-r--r--kwebapp/webpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwebapp/webpage.cpp b/kwebapp/webpage.cpp
index afe23035..827bbce1 100644
--- a/kwebapp/webpage.cpp
+++ b/kwebapp/webpage.cpp
@@ -63,7 +63,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
{
QUrl reqUrl = request.url();
QString protocol = reqUrl.scheme();
-
+
// javascript handling
if (protocol == QL1S("javascript"))
{
@@ -117,7 +117,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
kDebug() << "Error: " << protocol;
return;
}
-
+
// "mailto" handling.
if (protocol == QL1S("mailto"))
{