aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/filterleaf.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-19 01:44:06 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-19 01:44:06 +0200
commit77b3cd57f930ec70e6f618da70985e23e5cf76fc (patch)
tree712dbb43ec463a8524286d9e6e0fb2d2f8b9d6ab /lib/urlfilter/filterleaf.h
parenturlfilter: destroy FilterLeaves only when destroying the FilterTree (diff)
downloadsmolbote-77b3cd57f930ec70e6f618da70985e23e5cf76fc.tar.xz
Integrate FilterTree into browser (#6)
- change filter.path to filter.hosts to represent that the setting is only used for hostlist-format lists - change FilterTree::match to use QUrl and not QString
Diffstat (limited to 'lib/urlfilter/filterleaf.h')
-rw-r--r--lib/urlfilter/filterleaf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urlfilter/filterleaf.h b/lib/urlfilter/filterleaf.h
index 36c00e9..dcd3ec0 100644
--- a/lib/urlfilter/filterleaf.h
+++ b/lib/urlfilter/filterleaf.h
@@ -28,7 +28,7 @@ public:
FilterLeaf &operator=(FilterLeaf &&other);
~FilterLeaf() = default;
- virtual bool match(const QString &requestUrl) const = 0;
+ virtual bool match(const QUrl &requestUrl) const = 0;
virtual Action action() const = 0;
const QString request() const;