fix: system tray bug on mac

dev
冉坤 4 years ago
parent 9fd26b0583
commit 51fa52accb

@ -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;

Loading…
Cancel
Save