mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 21:06:58 -05:00
ui: Touching QPalette::Text broke dark -> light UI. don't do
This commit is contained in:
parent
38dd6dc190
commit
f6695814be
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue