Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12116 from AdmiralCurtiss/log-colors
DolphinQt/LogWidget: Restore log window colors.
  • Loading branch information
JosJuice committed Aug 18, 2023
2 parents 1854ff0 + a9cba9b commit a9ec2a6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/Core/DolphinQt/Config/LogWidget.cpp
Expand Up @@ -152,10 +152,8 @@ void LogWidget::CreateWidgets()
m_log_text->setUndoRedoEnabled(false);
m_log_text->setMaximumBlockCount(MAX_LOG_LINES);

QPalette palette = m_log_text->palette();
palette.setColor(QPalette::Base, Qt::black);
palette.setColor(QPalette::Text, Qt::white);
m_log_text->setPalette(palette);
m_log_text->setStyleSheet(
QStringLiteral("QPlainTextEdit { background-color: black; color: white; }"));
}

void LogWidget::ConnectWidgets()
Expand Down

0 comments on commit a9ec2a6

Please sign in to comment.