mirror of https://github.com/nextcloud/desktop
Merge pull request #4988 from nextcloud/bugfix/macos-no-context-menu
Don't set up tray context menu on macOS, even if not building app bundle
This commit is contained in:
commit
a1d0684f8f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue