fix: system tray bug on mac

This commit is contained in:
冉坤 2022-06-12 17:08:31 +08:00
commit 51fa52accb

View file

@ -242,7 +242,9 @@ void Dialog::slotActivated(QSystemTrayIcon::ActivationReason reason)
{ {
switch (reason) { switch (reason) {
case QSystemTrayIcon::Trigger: case QSystemTrayIcon::Trigger:
#ifdef Q_OS_WIN32
this->show(); this->show();
#endif
break; break;
default: default:
break; break;