mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 02:20:00 +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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue