From 77b3cd57f930ec70e6f618da70985e23e5cf76fc Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 19 Oct 2018 01:44:06 +0200 Subject: 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 --- lib/urlfilter/filtertree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/urlfilter/filtertree.h') 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 match(const QString &domain, const QString &requestUrl) const; + QVector match(const QUrl &domain, const QUrl &requestUrl) const; bool addRule(FilterLeaf *rule, const QString &domain); -- cgit v1.2.1