зеркало из https://github.com/nextcloud/desktop.git
Don't set up tray context menu on macOS, even if not building app bundle
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
Родитель
fc03d73f74
Коммит
7a1dbcf2fe
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче