mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fixing behaviour for a tray icon on OS X
This commit is contained in:
parent
a4df4125e3
commit
f35f7e261a
|
@ -489,6 +489,11 @@ void Widget::onIconClick(QSystemTrayIcon::ActivationReason reason)
|
|||
{
|
||||
case QSystemTrayIcon::Trigger:
|
||||
{
|
||||
#if defined(Q_OS_MAC)
|
||||
// We don't want to raise/minimize a window on icon click in OS X
|
||||
break;
|
||||
#endif
|
||||
|
||||
if (isHidden())
|
||||
{
|
||||
show();
|
||||
|
|
Loading…
Reference in New Issue
Block a user