summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyle K <190571+Docteh@users.noreply.github.com>2022-04-12 12:50:56 -0700
committerKyle K <190571+Docteh@users.noreply.github.com>2022-04-12 12:50:56 -0700
commitf6695814beb2db2bf9884c22f760476d65753040 (patch)
treee3382df0c8ddf8c754bc88f5c0244dd5272d5e67 /src
parent38dd6dc190313e507db21f6aaeda90b94e9b9768 (diff)
ui: Touching QPalette::Text broke dark -> light UI. don't do
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
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);