diff options
Diffstat (limited to 'src/adblock/adblockmanager.cpp')
-rw-r--r-- | src/adblock/adblockmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp index fb36ef0f..8f51fd1a 100644 --- a/src/adblock/adblockmanager.cpp +++ b/src/adblock/adblockmanager.cpp @@ -137,6 +137,7 @@ void AdBlockManager::loadRules(const QStringList &rules) const QString filter = stringRule.mid(2); if (_hostWhiteList.tryAddFilter(filter)) continue; + AdBlockRule rule(filter); _whiteList << rule; continue; @@ -155,6 +156,7 @@ void AdBlockManager::loadRules(const QStringList &rules) if (_hostBlackList.tryAddFilter(stringRule)) continue; + AdBlockRule rule(stringRule); _blackList << rule; } |