fix: system tray bug on mac

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

View file

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