aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/formats/adblockrule.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-12-19 16:27:41 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-12-19 16:27:41 +0100
commit9100d9bb0fc30df1046e58064e0293b13dbeda89 (patch)
tree074d35fbb0c278d26b3f2d0177558173f47fdbcd /lib/urlfilter/formats/adblockrule.cpp
parentAdd subwindow list to Window menu (diff)
downloadsmolbote-9100d9bb0fc30df1046e58064e0293b13dbeda89.tar.xz
Add ContentsMatcher class
Diffstat (limited to 'lib/urlfilter/formats/adblockrule.cpp')
-rw-r--r--lib/urlfilter/formats/adblockrule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urlfilter/formats/adblockrule.cpp b/lib/urlfilter/formats/adblockrule.cpp
index db1c3c5..60e817f 100644
--- a/lib/urlfilter/formats/adblockrule.cpp
+++ b/lib/urlfilter/formats/adblockrule.cpp
@@ -45,6 +45,7 @@ bool AdBlockRule::match(const QUrl &requestUrl, QWebEngineUrlRequestInfo::Resour
case FilterLeaf::RegularExpressionMatch:
return (regExp->indexIn(requestUrl.toString()) != -1);
default:
+ qWarning("Match type not implemented, returning false!");
return false;
}
}