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/filterrule.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/urlfilter/filterrule.cpp') diff --git a/lib/urlfilter/filterrule.cpp b/lib/urlfilter/filterrule.cpp index 739c78c..66a46f1 100644 --- a/lib/urlfilter/filterrule.cpp +++ b/lib/urlfilter/filterrule.cpp @@ -53,7 +53,6 @@ bool FilterRule::matchesDomain(uint domainHash) const // allowedDomains means the rule should only be matched on those domains return allowedDomains_hashes.contains(domainHash); - } bool FilterRule::matchesType(QWebEngineUrlRequestInfo::ResourceType type) const -- cgit v1.2.1