mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 17:14:58 +01:00
SmartPlaylistWizard: Apply dark mode workaround for all styles except vista
Fixes #1639
This commit is contained in:
parent
72447fecfb
commit
038e679000
@ -64,7 +64,8 @@ SmartPlaylistWizard::SmartPlaylistWizard(const SharedPtr<Player> player,
|
|||||||
setWizardStyle(QWizard::ClassicStyle);
|
setWizardStyle(QWizard::ClassicStyle);
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
if (QApplication::style() && QApplication::style()->objectName() == u"fusion"_s) {
|
// Workaround QTBUG-123853
|
||||||
|
if (QApplication::style() && QApplication::style()->objectName() != u"windowsvista"_s) {
|
||||||
setWizardStyle(QWizard::ClassicStyle);
|
setWizardStyle(QWizard::ClassicStyle);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user