mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 23:42:43 +00:00
Fixed Background not showing on OLED Theme
This commit is contained in:
parent
abdd3de37f
commit
bb7ccd394b
@ -170,8 +170,11 @@ void WindowThemes::SetWindowTheme(Theme theme, QLineEdit* mw_searchbar) {
|
|||||||
qApp->setPalette(themePalette);
|
qApp->setPalette(themePalette);
|
||||||
break;
|
break;
|
||||||
case Theme::Oled:
|
case Theme::Oled:
|
||||||
mw_searchbar->setStyleSheet("QLineEdit:focus {"
|
mw_searchbar->setStyleSheet(
|
||||||
"border: 1px solid #2A82DA; }");
|
"QLineEdit {"
|
||||||
|
"background-color: #000000; color: #ffffff; border: 1px solid #a0a0a0; "
|
||||||
|
"border-radius: 4px; padding: 5px; }"
|
||||||
|
"border: 1px solid #808080; border-radius: 4px; }");
|
||||||
themePalette.setColor(QPalette::Window, Qt::black);
|
themePalette.setColor(QPalette::Window, Qt::black);
|
||||||
themePalette.setColor(QPalette::WindowText, Qt::white);
|
themePalette.setColor(QPalette::WindowText, Qt::white);
|
||||||
themePalette.setColor(QPalette::Base, Qt::black);
|
themePalette.setColor(QPalette::Base, Qt::black);
|
||||||
@ -186,12 +189,6 @@ void WindowThemes::SetWindowTheme(Theme theme, QLineEdit* mw_searchbar) {
|
|||||||
themePalette.setColor(QPalette::Highlight, QColor(42, 130, 218));
|
themePalette.setColor(QPalette::Highlight, QColor(42, 130, 218));
|
||||||
themePalette.setColor(QPalette::HighlightedText, Qt::black);
|
themePalette.setColor(QPalette::HighlightedText, Qt::black);
|
||||||
qApp->setPalette(themePalette);
|
qApp->setPalette(themePalette);
|
||||||
qApp->setStyleSheet("QLineEdit {"
|
|
||||||
"background-color: #000000; color: #ffffff; border: 1px solid #a0a0a0; "
|
|
||||||
"border-radius: 4px; padding: 5px; }"
|
|
||||||
|
|
||||||
"QCheckBox::indicator:unchecked {"
|
|
||||||
"border: 1px solid #808080; border-radius: 4px; }");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user