Skip to content

Commit

Permalink
Merge pull request #4988 from nextcloud/bugfix/macos-no-context-menu
Browse files Browse the repository at this point in the history
Don't set up tray context menu on macOS, even if not building app bundle
  • Loading branch information
claucambra authored Sep 30, 2022
2 parents fc03d73 + 7a1dbcf commit a1d0684
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 a1d0684

Please sign in to comment.