summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-30 19:02:15 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commit1949d41ac6fbd92f248a995a25aa4c91aced2ae8 (patch)
tree41ac0217ac4d8d32b15bb30c18ab22ce6730ee89 /src/application.cpp
parentSession Manager (diff)
downloadrekonq-1949d41ac6fbd92f248a995a25aa4c91aced2ae8.tar.xz
Restored Adblock moving hiding logic to the one used in kwebkitpart
This will let everyone to save time reinventing the wheel and let us remove webpage from adblockmanager code, but just manage it via (Q)NAM.
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 286f113f..7092ad34 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -38,6 +38,7 @@
#include "urlresolver.h"
// Local Manager(s) Includes
+#include "adblockmanager.h"
#include "historymanager.h"
#include "sessionmanager.h"
@@ -232,6 +233,9 @@ int Application::newInstance()
// just create History Manager...
HistoryManager::self();
+ // FIXME: should this be removed?
+ AdBlockManager::self();
+
ReKonfig::setRecoverOnCrash(ReKonfig::recoverOnCrash() + 1);
saveConfiguration();
}