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:
Claudio Cambra 2022-10-01 00:06:54 +02:00 committed by GitHub
commit a1d0684f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,