mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-20 01:01:40 +00:00
dark mode for win10
This commit is contained in:
parent
bbdf0732ad
commit
6e41e11f0d
4 changed files with 12 additions and 10 deletions
|
@ -199,7 +199,7 @@ void Settings::ApplyStyle()
|
|||
// which would select Qt's default theme, but unlike other OSes we don't automatically get a
|
||||
// default dark theme on Windows when the user has selected dark mode in the Windows settings.
|
||||
// So manually check if the user wants dark mode and, if yes, load our embedded dark theme.
|
||||
if (style_type == StyleType::Dark || (style_type != StyleType::Light && IsSystemDark()))
|
||||
if (style_type == StyleType::Dark && IsSystemDark())
|
||||
{
|
||||
QFile file(QStringLiteral(":/dolphin_dark_win/dark.qss"));
|
||||
if (file.open(QFile::ReadOnly))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue