Skip to content

Commit

Permalink
Don't set up tray context menu on macOS, even if not building app bundle
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
  • Loading branch information
claucambra authored and mgallien committed Sep 30, 2022
1 parent fc03d73 commit 7a1dbcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a1dbcf

Please sign in to comment.