mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 06:08:39 +00:00
fix: system tray bug on mac
This commit is contained in:
parent
9fd26b0583
commit
51fa52accb
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue