diff options
author | Claudio Cambra <claudio.cambra@gmail.com> | 2022-09-29 21:01:35 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu_gallien@yahoo.fr> | 2022-09-30 22:45:30 +0300 |
commit | 7a1dbcf2fed930d5edd05f86bce81a373d6d6d7f (patch) | |
tree | b35b319e4ab2949e2cdad237b9261dc68d85fa66 /src | |
parent | fc03d73f748f15821f1a2c3286f7cc6e3545d3d9 (diff) |
Don't set up tray context menu on macOS, even if not building app bundle
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/systray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 238406474..ee5200038 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -78,7 +78,7 @@ Systray::Systray() setUserNotificationCenterDelegate(); checkNotificationAuth(MacNotificationAuthorizationOptions::Default); // No provisional auth, ask user explicitly first time registerNotificationCategories(QString(tr("Download"))); -#else +#elif !defined(Q_OS_MACOS) connect(AccountManager::instance(), &AccountManager::accountAdded, this, &Systray::setupContextMenu); connect(AccountManager::instance(), &AccountManager::accountRemoved, |