summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-01-14 03:28:15 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-01-14 03:28:15 +0100
commit1af5fc922877a5ec4db5dfa068b0e88c55fdc1c7 (patch)
tree4d7b7f022cfdd4ec02bb5789ecf8dd50c7bf899c /src/webpage.cpp
parentAdBlock Plus rules fast summary :) (diff)
downloadrekonq-1af5fc922877a5ec4db5dfa068b0e88c55fdc1c7.tar.xz
Better AdBlocking things :)
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index cfa5ff04..6bf172a6 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -42,6 +42,7 @@
#include "webtab.h"
#include "webpluginfactory.h"
#include "networkaccessmanager.h"
+#include "adblockmanager.h"
// KDE Includes
#include <KStandardDirs>
@@ -179,6 +180,8 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
void WebPage::loadFinished(bool)
{
+ Application::adblockManager()->applyHidingRules(this);
+
// KWallet Integration
// TODO: Add check for sites exempt from automatic form filling...
if (wallet())