diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-28 18:46:28 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-28 18:46:28 +0100 |
commit | 56585bc34834955a55cee8a8c1c70cb031d40fe3 (patch) | |
tree | 6b85308ac52dd9bb9cbb17c30e68529d3244a313 /src/webpage.cpp | |
parent | src/CMakeLists.txt fix (diff) | |
download | rekonq-56585bc34834955a55cee8a8c1c70cb031d40fe3.tar.xz |
removed current bugged adblock implementation.
Sorry about that :(
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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 <KStandardDirs> @@ -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); -} |