Skip to content
Permalink
Browse files

Fix MAC build for OSX < 10.14

  • Loading branch information
dmarteau authored and nyalldawson committed Jan 22, 2019
1 parent 3da3103 commit 508817d6344cb9fb7215209db7994b97ad8c5162
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/native/mac/qgsmacnative.mm
@@ -121,7 +121,7 @@ - ( BOOL )userNotificationCenter:( NSUserNotificationCenter * )center shouldPres

bool QgsMacNative::hasDarkTheme()
{
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_14
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101400
if ( [NSApp respondsToSelector:@selector( effectiveAppearance )] )
{
// compiled on macos 10.14+ AND running on macos 10.14+

0 comments on commit 508817d

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