forked from qt-creator/qt-creator
Avoid enabling all message types by default
Passing no QtMsgType parameter ends up in enabling all message types by default. Follow the common pattern of only enabling the warnings by default. Change-Id: Ic7ec0420089c95f716a86feb9791d9cb13f4dd90 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
Q_LOGGING_CATEGORY(androidTCLog, "qtc.android.toolchainmanagement");
|
Q_LOGGING_CATEGORY(androidTCLog, "qtc.android.toolchainmanagement", QtWarningMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Android {
|
namespace Android {
|
||||||
|
@@ -55,7 +55,7 @@
|
|||||||
namespace SerialTerminal {
|
namespace SerialTerminal {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
static Q_LOGGING_CATEGORY(log, Constants::LOGGING_CATEGORY)
|
static Q_LOGGING_CATEGORY(log, Constants::LOGGING_CATEGORY, QtWarningMsg)
|
||||||
|
|
||||||
// Tab Widget helper for middle click tab close
|
// Tab Widget helper for middle click tab close
|
||||||
class TabWidget : public QTabWidget
|
class TabWidget : public QTabWidget
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
namespace SerialTerminal {
|
namespace SerialTerminal {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
static Q_LOGGING_CATEGORY(log, Constants::LOGGING_CATEGORY)
|
static Q_LOGGING_CATEGORY(log, Constants::LOGGING_CATEGORY, QtWarningMsg)
|
||||||
|
|
||||||
// Set 'value' only if the key exists in the settings
|
// Set 'value' only if the key exists in the settings
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Reference in New Issue
Block a user