This commit is contained in:
koplo199 2023-06-30 06:57:51 +00:00 committed by GitHub
parent 649ea75ea8
commit 0aca0874aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ void SkinFactory::loadSkinFromData(const Skin& skin) {
// palettes in some styles. Also in light mode, // palettes in some styles. Also in light mode,
// colors are now derived from system. // colors are now derived from system.
#if QT_VERSION >= 0x060500 // Qt >= 6.5.0 #if QT_VERSION >= 0x060500 // Qt >= 6.5.0
else { else if (qApp->styleHints()->colorScheme() == Qt::ColorScheme::Light) {
qApp->setPalette(qt_fusionPalette(qApp->styleHints()->colorScheme() == Qt::ColorScheme::Dark)); qApp->setPalette(qt_fusionPalette(false));
} }
#endif #endif
} }