aboutsummaryrefslogtreecommitdiff
path: root/src/webengine
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-11-16 16:26:22 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-11-16 16:26:22 +0100
commit566abfa99120652fb1e9190d791fdbbba64d2e0d (patch)
tree86a6f71b926794298d922a9319b55909cf5a07b4 /src/webengine
parentAdd more regex benchmarks (diff)
downloadsmolbote-566abfa99120652fb1e9190d791fdbbba64d2e0d.tar.xz
Add adblockrule_parse
Diffstat (limited to 'src/webengine')
-rw-r--r--src/webengine/filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/filter.cpp b/src/webengine/filter.cpp
index 216c84c..6941ac4 100644
--- a/src/webengine/filter.cpp
+++ b/src/webengine/filter.cpp
@@ -72,7 +72,7 @@ void Filter::filterRequest(QWebEngineUrlRequestInfo &info) const
{
auto matches = filters.match(info.firstPartyUrl().toString(), info.requestUrl().toString());
for(const auto &rule : matches) {
- switch(rule->action()) {
+ switch(rule->action().first) {
case FilterLeaf::NotMatched:
#ifdef QT_DEBUG
qDebug("Paradoxical match: request matched, but not matched.");