summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle K <190571+Docteh@users.noreply.github.com>2022-04-12 21:50:56 +0200
committerKyle K <190571+Docteh@users.noreply.github.com>2022-04-12 21:50:56 +0200
commitf6695814beb2db2bf9884c22f760476d65753040 (patch)
treee3382df0c8ddf8c754bc88f5c0244dd5272d5e67
parentui: Set Link Color when setting theme (diff)
downloadyuzu-f6695814beb2db2bf9884c22f760476d65753040.tar
yuzu-f6695814beb2db2bf9884c22f760476d65753040.tar.gz
yuzu-f6695814beb2db2bf9884c22f760476d65753040.tar.bz2
yuzu-f6695814beb2db2bf9884c22f760476d65753040.tar.lz
yuzu-f6695814beb2db2bf9884c22f760476d65753040.tar.xz
yuzu-f6695814beb2db2bf9884c22f760476d65753040.tar.zst
yuzu-f6695814beb2db2bf9884c22f760476d65753040.zip
Diffstat (limited to '')
-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);