Skip to content
Permalink
Browse files

Fix build on OSX platform < 10.14 (#8348)

  • Loading branch information
slarosa authored and 3nids committed Oct 26, 2018
1 parent 5f5edb6 commit 4295e0e8e2e8a19e0c687111af342f809ef6ed28
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/native/mac/qgsmacnative.mm
@@ -121,5 +121,9 @@ - ( BOOL )userNotificationCenter:( NSUserNotificationCenter * )center shouldPres

bool QgsMacNative::hasDarkTheme()
{
return ( NSApp.effectiveAppearance.name != NSAppearanceNameAqua );
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
return ( NSApp.effectiveAppearance.name != NSAppearanceNameAqua );
#else
return false;
#endif
}

0 comments on commit 4295e0e

Please sign in to comment.
You can’t perform that action at this time.