From 56585bc34834955a55cee8a8c1c70cb031d40fe3 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 28 Nov 2009 18:46:28 +0100 Subject: removed current bugged adblock implementation. Sorry about that :( --- src/webpage.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/webpage.cpp') diff --git a/src/webpage.cpp b/src/webpage.cpp index 941567a0..edb7902f 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -41,7 +41,6 @@ #include "mainview.h" #include "webview.h" #include "webpluginfactory.h" -#include "adblockmanager.h" // KDE Includes #include @@ -249,13 +248,3 @@ QString WebPage::errorPage(QNetworkReply *reply) ; return html; } - - -bool WebPage::authorizedRequest(const QUrl &url) const -{ - // we filter just http sites - if(url.scheme() != QLatin1String("http")) - return true; - - return Application::adblockManager()->isUrlAllowed(url); -} -- cgit v1.2.1