diff options
-rw-r--r-- | src/gui/systray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |