summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-07-07 13:58:58 +0200
committerMontel Laurent <[email protected]>2016-07-07 13:58:58 +0200
commit4a72cf317165a5185ca4394d8d3840cd7b1f4c87 (patch)
tree5a950164c96e8ce85920c69f8fa96feb0211a0f8
parent2f3ecf5d7b2ddc62435b4cf613f244a3b8997b3b (diff)
Enable code
-rw-r--r--plugins/webengineurlinterceptor/adblock/lib/adblockmatcher.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/webengineurlinterceptor/adblock/lib/adblockmatcher.cpp b/plugins/webengineurlinterceptor/adblock/lib/adblockmatcher.cpp
index e2effae..2392489 100644
--- a/plugins/webengineurlinterceptor/adblock/lib/adblockmatcher.cpp
+++ b/plugins/webengineurlinterceptor/adblock/lib/adblockmatcher.cpp
@@ -157,7 +157,6 @@ void AdBlockMatcher::update()
QHash<QString, const AdBlockRule *> cssRulesHash;
QVector<const AdBlockRule *> exceptionCssRules;
-#if 0 //FIXME
Q_FOREACH (AdBlockSubscription *subscription, m_manager->subscriptions()) {
Q_FOREACH (const AdBlockRule *rule, subscription->allRules()) {
// Don't add internally disabled rules to cache
@@ -235,7 +234,6 @@ void AdBlockMatcher::update()
m_elementHidingRules = m_elementHidingRules.left(m_elementHidingRules.size() - 1);
m_elementHidingRules.append(QLatin1String("{display:none !important;} "));
}
-#endif
}
void AdBlockMatcher::clear()