From 7a1dbcf2fed930d5edd05f86bce81a373d6d6d7f Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 29 Sep 2022 20:01:35 +0200 Subject: Don't set up tray context menu on macOS, even if not building app bundle Signed-off-by: Claudio Cambra --- src/gui/systray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 238406474..ee5200038 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -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, -- cgit v1.2.3