Disable automatic dark-mode activation depending on OS settings.
This commit is contained in:
parent
c82c39bfa9
commit
aed4ba6639
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ void SkinFactory::loadSkinFromData(const Skin& skin) {
|
|||
// palettes in some styles. Also in light mode,
|
||||
// colors are now derived from system.
|
||||
#if QT_VERSION >= 0x060500 // Qt >= 6.5.0
|
||||
else if (qApp->styleHints()->colorScheme() == Qt::ColorScheme::Light) {
|
||||
else /*if (qApp->styleHints()->colorScheme() == Qt::ColorScheme::Light)*/ {
|
||||
qApp->setPalette(qt_fusionPalette(false));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue