mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #12116 from AdmiralCurtiss/log-colors
DolphinQt/LogWidget: Restore log window colors.
This commit is contained in:
@ -152,10 +152,8 @@ void LogWidget::CreateWidgets()
|
|||||||
m_log_text->setUndoRedoEnabled(false);
|
m_log_text->setUndoRedoEnabled(false);
|
||||||
m_log_text->setMaximumBlockCount(MAX_LOG_LINES);
|
m_log_text->setMaximumBlockCount(MAX_LOG_LINES);
|
||||||
|
|
||||||
QPalette palette = m_log_text->palette();
|
m_log_text->setStyleSheet(
|
||||||
palette.setColor(QPalette::Base, Qt::black);
|
QStringLiteral("QPlainTextEdit { background-color: black; color: white; }"));
|
||||||
palette.setColor(QPalette::Text, Qt::white);
|
|
||||||
m_log_text->setPalette(palette);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void LogWidget::ConnectWidgets()
|
void LogWidget::ConnectWidgets()
|
||||||
|
Reference in New Issue
Block a user