From 5f623dcfc8f02504d745f47f8b9274b2bca5fd67 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 18 Oct 2018 23:39:28 +0200 Subject: urlfilter: destroy FilterLeaves only when destroying the FilterTree Add QMutex lock when adding rules clang-format pass --- lib/urlfilter/domain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/urlfilter/domain.h') diff --git a/lib/urlfilter/domain.h b/lib/urlfilter/domain.h index 356762d..0406f0f 100644 --- a/lib/urlfilter/domain.h +++ b/lib/urlfilter/domain.h @@ -17,7 +17,7 @@ class Domain public: explicit Domain(const QString &domain); explicit Domain(Domain &&other); - Domain& operator=(Domain &&other); + Domain &operator=(Domain &&other); // match domain and subdomains of domain bool matches(const QUrl &url) const; -- cgit v1.2.1