diff options
author | Tor Arne Vestbø <[email protected]> | 2021-08-03 13:58:17 +0200 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2021-08-10 18:06:36 +0200 |
commit | ca15cc0049c643d58875fd4eddfdae8e3b58c644 (patch) | |
tree | ab669d7a2917854377acc9af8fe59ef07b5e7b62 /src/testlib/qjunittestlogger.cpp | |
parent | 308280e7a9277334c2fd3480c3ddc4971d85b920 (diff) |
testlib: Rename QAbstractTestLogger::QSystem to QCritical
It's used to handle qCritical() messages, and corresponds to QtMsgType's
QtCriticalMsg, so change its name to reflect what it really is.
In the process, reclassify the -maxwarnings overflow message as a warning,
rather than a critical message.
Pick-to: 6.2
Change-Id: I87626117a547ae4498d5dc352b93bd6db8bfb332
Reviewed-by: Mårten Nordheim <[email protected]>
Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/testlib/qjunittestlogger.cpp')
-rw-r--r-- | src/testlib/qjunittestlogger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qjunittestlogger.cpp b/src/testlib/qjunittestlogger.cpp index 795017ef184..ebb0d9e74d4 100644 --- a/src/testlib/qjunittestlogger.cpp +++ b/src/testlib/qjunittestlogger.cpp @@ -304,8 +304,8 @@ void QJUnitTestLogger::addMessage(MessageTypes type, const QString &message, con systemLogElement = systemErrorElement; typeBuf = "warn"; break; - case QAbstractTestLogger::QSystem: - typeBuf = "system"; + case QAbstractTestLogger::QCritical: + typeBuf = "qcritical"; break; case QAbstractTestLogger::QDebug: typeBuf = "qdebug"; |