diff options
Diffstat (limited to 'src/adblock/adblockrule.cpp')
-rw-r--r-- | src/adblock/adblockrule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adblock/adblockrule.cpp b/src/adblock/adblockrule.cpp index 87fcb680..fcc5fd8c 100644 --- a/src/adblock/adblockrule.cpp +++ b/src/adblock/adblockrule.cpp @@ -37,7 +37,7 @@ AdBlockRule::AdBlockRule(const QString &filter) { - switch (AdBlockRule::ruleType(filter)) + switch(AdBlockRule::ruleType(filter)) { case TextRule: m_implementation = QSharedPointer<AdBlockRuleImpl>(new AdBlockRuleTextMatchImpl(filter)); @@ -57,10 +57,10 @@ AdBlockRule::AdBlockRule(const QString &filter) RuleTypes AdBlockRule::ruleType(const QString &filter) { - if (AdBlockRuleTextMatchImpl::isTextMatchFilter(filter)) + if(AdBlockRuleTextMatchImpl::isTextMatchFilter(filter)) return TextRule; - if (AdBlockRuleNullImpl::isNullFilter(filter)) + if(AdBlockRuleNullImpl::isNullFilter(filter)) return NullRule; return FallbackRule; |