diff options
| author | Jonas Schnelli <[email protected]> | 2019-01-18 21:47:01 -1000 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2019-01-21 22:42:51 -1000 |
| commit | 516437a1b70b6df87faadfd38c3d84e6dfb5eae8 (patch) | |
| tree | ef919b8b9bdd1115046e2dfd0c10a0abb91302cc /src/qt/guiutil.cpp | |
| parent | Merge #15101: gui: Add WalletController (diff) | |
| download | discoin-516437a1b70b6df87faadfd38c3d84e6dfb5eae8.tar.xz discoin-516437a1b70b6df87faadfd38c3d84e6dfb5eae8.zip | |
Qt: remove macOS launch-at-startup option when compiled with > macOS 10.11
Diffstat (limited to 'src/qt/guiutil.cpp')
| -rw-r--r-- | src/qt/guiutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index b84c07d51..b61fc25dc 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -683,7 +683,7 @@ bool SetStartOnSystemStartup(bool fAutoStart) } -#elif defined(Q_OS_MAC) +#elif defined(Q_OS_MAC) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED <= 101100 // based on: https://github.com/Mozketo/LaunchAtLoginController/blob/master/LaunchAtLoginController.m LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl); |