feat: MACOS_NE systray menu support
This commit is contained in:
parent
4fcf3c13dd
commit
9b89237f54
7 changed files with 31 additions and 18 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue