mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-29 16:49:27 +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);
|
||||
#endif
|
||||
#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);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user