mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Revert "Fixing behaviour for a tray icon on OS X"
This reverts commit f35f7e261a
.
This commit is contained in:
parent
a0ecf86c20
commit
b8bbe3654f
|
@ -491,11 +491,6 @@ void Widget::onIconClick(QSystemTrayIcon::ActivationReason reason)
|
||||||
{
|
{
|
||||||
case QSystemTrayIcon::Trigger:
|
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())
|
if (isHidden())
|
||||||
{
|
{
|
||||||
show();
|
show();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user