From 072f5b513e486e884ea7fa4a1cac9aedf3846374 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Fri, 22 Apr 2016 11:34:07 +0200 Subject: Also update filter rules if there is a custom filter installed. This is relevant if the custom filter passes through some categories to the previous one (which might be the default one). In this case changes to the filter rules never took effect. Change-Id: I1a3ab569857d43621ce5df4e690c6e64e6bc7a66 Reviewed-by: Kai Koehne --- src/corelib/io/qloggingregistry.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/corelib/io/qloggingregistry.cpp b/src/corelib/io/qloggingregistry.cpp index b53e251102..a9ac38c6a6 100644 --- a/src/corelib/io/qloggingregistry.cpp +++ b/src/corelib/io/qloggingregistry.cpp @@ -359,9 +359,6 @@ void QLoggingRegistry::setApiRules(const QString &content) */ void QLoggingRegistry::updateRules() { - if (categoryFilter != defaultCategoryFilter) - return; - rules = qtConfigRules + configRules + apiRules + envRules; foreach (QLoggingCategory *cat, categories.keys()) -- cgit v1.2.3