parent
649ea75ea8
commit
0aca0874aa
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue