mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Version 1.4.0: Fix build for old OS X versions.
This commit is contained in:
@@ -121,7 +121,11 @@ ApplicationDelegate *_sharedDelegate = nil;
|
||||
});
|
||||
#ifndef OS_MAC_STORE
|
||||
if ([SPMediaKeyTap usesGlobalMediaKeyTap]) {
|
||||
#ifndef OS_MAC_OLD
|
||||
if (QSysInfo::macVersion() < Q_MV_OSX(10, 14)) {
|
||||
#else // OS_MAC_OLD
|
||||
if (true) {
|
||||
#endif // OS_MAC_OLD
|
||||
_keyTap = [[SPMediaKeyTap alloc] initWithDelegate:self];
|
||||
} else {
|
||||
// In macOS Mojave it requires accessibility features.
|
||||
|
Reference in New Issue
Block a user