diff options
Diffstat (limited to 'src/adblock/adblockrulenullimpl.cpp')
-rw-r--r-- | src/adblock/adblockrulenullimpl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/adblock/adblockrulenullimpl.cpp b/src/adblock/adblockrulenullimpl.cpp index 807efc64..2be69789 100644 --- a/src/adblock/adblockrulenullimpl.cpp +++ b/src/adblock/adblockrulenullimpl.cpp @@ -58,6 +58,10 @@ bool AdBlockRuleNullImpl::isNullFilter(const QString &filter) Q_FOREACH(const QString & option, options) { + // third_party: managed inside adblockrulefallbackimpl + if (option == QL1S("third-party")) + return false; + // script if (option == QL1S("script")) return true; @@ -110,10 +114,6 @@ bool AdBlockRuleNullImpl::isNullFilter(const QString &filter) if (option == QL1S("other")) return true; - // third_party: managed inside adblockrulefallbackimpl - if (option == QL1S("third-party")) - return false; - // collapse if (option == QL1S("collapse")) return true; |