diff --git a/src/plugins/platforms/cocoa/qcocoatheme.mm b/src/plugins/platforms/cocoa/qcocoatheme.mm index 52369f88815..3e7e01d8048 100644 --- a/src/plugins/platforms/cocoa/qcocoatheme.mm +++ b/src/plugins/platforms/cocoa/qcocoatheme.mm @@ -489,8 +489,11 @@ void QCocoaTheme::requestColorScheme(Qt::ColorScheme scheme) case Qt::ColorScheme::Unknown: break; } - if (appearance != NSApp.effectiveAppearance) - NSApplication.sharedApplication.appearance = appearance; + + // Always override the appearance, even if it's the same + // as the current effective appearance, as otherwise the + // requested appearance won't stick on system theme changes. + NSApp.appearance = appearance; } /*