From 67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 6 Jul 2012 22:46:16 +0200 Subject: Fix adblock hide behavior NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050 --- kwebapp/webpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kwebapp/webpage.cpp') 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")) { -- cgit v1.2.1