feat: MACOS_NE systray menu support

This commit is contained in:
Yaroslav Yashin 2025-05-27 19:33:05 +03:00
parent 4fcf3c13dd
commit 9b89237f54
7 changed files with 31 additions and 18 deletions

View file

@ -22,6 +22,9 @@ SystemTrayNotificationHandler::SystemTrayNotificationHandler(QObject* parent) :
m_systemTrayIcon(parent)
{
#ifdef MACOS_NE
MacOSUtils::hideDockIcon();
#endif
m_systemTrayIcon.show();
connect(&m_systemTrayIcon, &QSystemTrayIcon::activated, this, &SystemTrayNotificationHandler::onTrayActivated);