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:
parent
6dead5e7e1
commit
9daf0a6089
@ -200,6 +200,12 @@ TomahawkTrayIcon::onActivated( QSystemTrayIcon::ActivationReason reason )
|
||||
}
|
||||
break;
|
||||
|
||||
case QSystemTrayIcon::MiddleClick:
|
||||
{
|
||||
AudioEngine::instance()->playPause();
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user