summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-28 18:46:28 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-28 18:46:28 +0100
commit56585bc34834955a55cee8a8c1c70cb031d40fe3 (patch)
tree6b85308ac52dd9bb9cbb17c30e68529d3244a313 /src/webpage.cpp
parentsrc/CMakeLists.txt fix (diff)
downloadrekonq-56585bc34834955a55cee8a8c1c70cb031d40fe3.tar.xz
removed current bugged adblock implementation.
Sorry about that :(
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp11
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);
-}