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/filterleaf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/urlfilter/filterleaf.h') 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; -- cgit v1.2.1