diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-07-06 22:46:16 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-07-06 22:46:16 +0200 |
commit | 67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd (patch) | |
tree | 2cf2c3b2034265ee4111cce99c03466c6314c745 /kwebapp/webpage.cpp | |
parent | Fixed a line that was calling QString::startsWith() without args. Fixed build. (diff) | |
download | rekonq-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.cpp | 4 |
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")) { |