diff options
author | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-04-12 12:50:56 -0700 |
---|---|---|
committer | Kyle K <190571+Docteh@users.noreply.github.com> | 2022-04-12 12:50:56 -0700 |
commit | f6695814beb2db2bf9884c22f760476d65753040 (patch) | |
tree | e3382df0c8ddf8c754bc88f5c0244dd5272d5e67 /src | |
parent | 38dd6dc190313e507db21f6aaeda90b94e9b9768 (diff) |
ui: Touching QPalette::Text broke dark -> light UI. don't do
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d1be08edb..52879a989 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); |