Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix MAC build for OSX < 10.14
  • Loading branch information
dmarteau authored and nyalldawson committed Jan 22, 2019
1 parent 3da3103 commit 508817d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/mac/qgsmacnative.mm
Expand Up @@ -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+
Expand Down

0 comments on commit 508817d

Please sign in to comment.