1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Play/Pause when system tray receives a mouse middle click

This commit is contained in:
Anselmo L. S. Melo 2012-03-05 14:32:13 -03:00
parent 6dead5e7e1
commit 9daf0a6089

View File

@ -200,6 +200,12 @@ TomahawkTrayIcon::onActivated( QSystemTrayIcon::ActivationReason reason )
}
break;
case QSystemTrayIcon::MiddleClick:
{
AudioEngine::instance()->playPause();
}
break;
default:
break;
}