We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5edb6 commit 4295e0eCopy full SHA for 4295e0e
src/native/mac/qgsmacnative.mm
@@ -121,5 +121,9 @@ - ( BOOL )userNotificationCenter:( NSUserNotificationCenter * )center shouldPres
121
122
bool QgsMacNative::hasDarkTheme()
123
{
124
- return ( NSApp.effectiveAppearance.name != NSAppearanceNameAqua );
+ #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
125
+ return ( NSApp.effectiveAppearance.name != NSAppearanceNameAqua );
126
+ #else
127
+ return false;
128
+ #endif
129
}
0 commit comments