Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -241,7 +241,7 @@ void appDebugOutput(QtMsgType type, const QMessageLogContext& context, const QSt
|
||||
|
||||
QString out = qFormatLogMessage(type, context, msg);
|
||||
if (APPLICATION->logModel) {
|
||||
APPLICATION->logModel->append(MessageLevel::getLevel(type), out);
|
||||
APPLICATION->logModel->append(messageLevelFromQtMsgType(type), out);
|
||||
}
|
||||
|
||||
out += QChar::LineFeed;
|
||||
|
||||
Reference in New Issue
Block a user