summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Krause <volker.krause@kdab.com>2016-04-22 11:34:07 +0200
committerVolker Krause <volker.krause@kdab.com>2016-04-24 15:09:50 +0000
commit072f5b513e486e884ea7fa4a1cac9aedf3846374 (patch)
tree83c655f8bce3409da13f6d198d34cd2532794861
parent2fe10c8dd02c7a9f37a0993f144f7988618943f0 (diff)
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 <kai.koehne@qt.io>
-rw-r--r--src/corelib/io/qloggingregistry.cpp3
1 files changed, 0 insertions, 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())