diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-19 01:44:06 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-19 01:44:06 +0200 |
commit | 77b3cd57f930ec70e6f618da70985e23e5cf76fc (patch) | |
tree | 712dbb43ec463a8524286d9e6e0fb2d2f8b9d6ab /lib/urlfilter/filtertree.h | |
parent | urlfilter: destroy FilterLeaves only when destroying the FilterTree (diff) | |
download | smolbote-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/filtertree.h')
-rw-r--r-- | lib/urlfilter/filtertree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urlfilter/filtertree.h b/lib/urlfilter/filtertree.h index 3da82e0..f453a3d 100644 --- a/lib/urlfilter/filtertree.h +++ b/lib/urlfilter/filtertree.h @@ -30,7 +30,7 @@ public: ~FilterTree(); const QStringList branches() const; - QVector<const FilterLeaf *> match(const QString &domain, const QString &requestUrl) const; + QVector<const FilterLeaf *> match(const QUrl &domain, const QUrl &requestUrl) const; bool addRule(FilterLeaf *rule, const QString &domain); |