summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-04-20 11:48:38 +0200
committerKai Koehne <kai.koehne@qt.io>2017-07-18 13:30:18 +0000
commit54c2bfc9dbc445be94ba5031d96f93f497246744 (patch)
tree456798dac1fb5eacb4e87cd20284b4330a9723e7
parent9a69a1b969c114f7b4a21a5607b2ec70991dc7c7 (diff)
Doc: Clarify limitations of category filter
As suggested by ogoffart. Change-Id: I15747869147819799b14dfe0670ff2225f76fc03 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-rw-r--r--src/corelib/io/qloggingcategory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qloggingcategory.cpp b/src/corelib/io/qloggingcategory.cpp
index 69af936bca..3eaf10c53e 100644
--- a/src/corelib/io/qloggingcategory.cpp
+++ b/src/corelib/io/qloggingcategory.cpp
@@ -411,8 +411,8 @@ QLoggingCategory *QLoggingCategory::defaultCategory()
filter is free to change the respective category configuration with
\l setEnabled().
- The filter might be called concurrently from different threads, and
- therefore has to be reentrant.
+ The filter might be called from different threads, but never concurrently.
+ The filter shall not call any static functions of QLoggingCategory.
Example:
\snippet qloggingcategory/main.cpp 21