From f6695814beb2db2bf9884c22f760476d65753040 Mon Sep 17 00:00:00 2001 From: Kyle K <190571+Docteh@users.noreply.github.com> Date: Tue, 12 Apr 2022 12:50:56 -0700 Subject: [PATCH] ui: Touching QPalette::Text broke dark -> light UI. don't do --- src/yuzu/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d1be08edb3..52879a989d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -3654,10 +3654,8 @@ void GMainWindow::UpdateUITheme() { QPalette new_pal(qApp->palette()); if (UISettings::IsDarkTheme()) { - new_pal.setColor(QPalette::Text, QColor(255, 255, 255, 255)); new_pal.setColor(QPalette::Link, QColor(0, 190, 255, 255)); } else { - new_pal.setColor(QPalette::Text, QColor(0, 0, 0, 255)); new_pal.setColor(QPalette::Link, QColor(0, 140, 200, 255)); } qApp->setPalette(new_pal);