aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMarja Hassinen <ext-marja.2.hassinen@nokia.com>2009-08-10 15:50:17 +0300
committerMarja Hassinen <ext-marja.2.hassinen@nokia.com>2009-08-10 15:50:17 +0300
commitd1470c433e7fca46d4169c397e6b7aa07cf8b61d (patch)
tree79d68bda2895c046a62d04d5fd4abf0a2754e8d0 /common
parentb9583972ed51059a8024adcb42b702a1e9686776 (diff)
logging: Fixing a bug: multiple features in CONTEXT_SHOW_FEATURES were not handled correctly
(only the debug messages of the first feature were printed out).
Diffstat (limited to 'common')
-rw-r--r--common/logging.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/logging.cpp b/common/logging.cpp
index b3eac0c3..fbb56362 100644
--- a/common/logging.cpp
+++ b/common/logging.cpp
@@ -369,9 +369,8 @@ bool ContextRealLogger::shouldPrint()
foreach(QString feature, showFeatures) {
if (features.contains(feature))
return true;
- else
- return false;
}
+ return false;
}
return true;