diff options
-rw-r--r-- | src/corelib/io/qloggingregistry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qloggingregistry.cpp b/src/corelib/io/qloggingregistry.cpp index e2a866372c..91d3e5a73c 100644 --- a/src/corelib/io/qloggingregistry.cpp +++ b/src/corelib/io/qloggingregistry.cpp @@ -105,8 +105,7 @@ int QLoggingRule::pass(QLatin1String cat, QtMsgType msgType) const if (idx >= 0) { if (flags == MidFilter) { // matches somewhere - if (idx >= 0) - return (enabled ? 1 : -1); + return (enabled ? 1 : -1); } else if (flags == LeftFilter) { // matches left if (idx == 0) |