Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -232,7 +232,7 @@ void AppearanceWidget::updateConsolePreview()
|
||||
m_ui->consolePreview->clear();
|
||||
m_defaultFormat.setFont(QFont(fontFamily, fontSize));
|
||||
|
||||
auto print = [this, colors](const QString& message, MessageLevel::Enum level) {
|
||||
auto print = [this, colors](const QString& message, MessageLevel level) {
|
||||
QTextCharFormat format(m_defaultFormat);
|
||||
|
||||
QColor bg = colors.background.value(level);
|
||||
|
||||
Reference in New Issue
Block a user