mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
0fd945b3db
commit
fd3ae85d45
20 changed files with 62 additions and 64 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue