From a9cba9be36d79147b7be30fb7b950d4d396550eb Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Wed, 16 Aug 2023 19:55:18 +0200 Subject: [PATCH] DolphinQt/LogWidget: Restore log window colors. --- Source/Core/DolphinQt/Config/LogWidget.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinQt/Config/LogWidget.cpp b/Source/Core/DolphinQt/Config/LogWidget.cpp index 4e92b2725e..378a3a4da0 100644 --- a/Source/Core/DolphinQt/Config/LogWidget.cpp +++ b/Source/Core/DolphinQt/Config/LogWidget.cpp @@ -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()