mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix build on OSX platform < 10.14 (#8348)
This commit is contained in:
parent
5f5edb6b04
commit
4295e0e8e2
@ -121,5 +121,9 @@ QgsNative::NotificationResult QgsMacNative::showDesktopNotification( const QStri
|
||||
|
||||
bool QgsMacNative::hasDarkTheme()
|
||||
{
|
||||
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
|
||||
return ( NSApp.effectiveAppearance.name != NSAppearanceNameAqua );
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user