handle tray icon doubleclicks. (rb07)

This commit is contained in:
Jordan Lee 2013-08-24 19:22:41 +00:00
parent 8c76f40b49
commit ec82d81598
1 changed files with 2 additions and 1 deletions

View File

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