handle tray icon doubleclicks. (rb07)
This commit is contained in:
parent
8c76f40b49
commit
ec82d81598
|
@ -1009,7 +1009,8 @@ TrMainWindow :: toggleWindows (bool doShow)
|
|||
void
|
||||
TrMainWindow :: trayActivated (QSystemTrayIcon::ActivationReason reason)
|
||||
{
|
||||
if (reason == QSystemTrayIcon::Trigger)
|
||||
if ((reason == QSystemTrayIcon::Trigger) ||
|
||||
(reason == QSystemTrayIcon::DoubleClick)
|
||||
{
|
||||
if (isMinimized ())
|
||||
toggleWindows (true);
|
||||
|
|
Loading…
Reference in New Issue