diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-10-12 09:33:30 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-10-13 16:36:58 +0000 |
commit | bdc2b4b59f982eb0a92a19b86b374a669036c913 (patch) | |
tree | 2b2b10a01f97c0cfef87995bc990026bdc694964 /tests/manual/clang-format-for-qtc | |
parent | a27d4e9455fd0bd865a5b72f2ea3636ab5dfed6e (diff) |
Remove hard-coded disabling of debug logs
Instead, set the default level of all logs to QtWarningMsg.
The call to setFilterRules overrides the user preferences in qtlogging.ini.
Change-Id: Id5f6cd550d14ff7f45ae04c5d3110e0bafb0f072
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests/manual/clang-format-for-qtc')
-rw-r--r-- | tests/manual/clang-format-for-qtc/test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/clang-format-for-qtc/test.cpp b/tests/manual/clang-format-for-qtc/test.cpp index 3edaa85739..e5afaff130 100644 --- a/tests/manual/clang-format-for-qtc/test.cpp +++ b/tests/manual/clang-format-for-qtc/test.cpp @@ -681,7 +681,7 @@ void extremeFunction3(int parameter1, // Misc // ------------------------------------------------------------------------------------------------- -static Q_LOGGING_CATEGORY(log, "qtc.cpptools.builtineditordocumentprocessor") +static Q_LOGGING_CATEGORY(log, "qtc.cpptools.builtineditordocumentprocessor", QtWarningMsg) int hello; // NOTE: Ops, awkward placement of next token after Q_LOGGING_CATEGORY (semicolon helps) |