Play/Pause track when middle click on tray icon for Qt-only builds (KDE builds already have this). Thanks to spartanj for the patch.
This commit is contained in:
committed by
craig.p.drummond
parent
6445979481
commit
293c8f4b5d
@@ -35,6 +35,8 @@
|
||||
18. Use freedesktop.org notifications for Qt-only Linux builds.
|
||||
19. Show menubar when run under Unity.
|
||||
20. Improve MPRISv2 interface - signal when proprties change.
|
||||
21. Play/Pause track when middle click on tray icon for Qt-only builds (KDE
|
||||
builds already have this). Thanks to spartanj for the patch.
|
||||
|
||||
0.8.3.1
|
||||
-------
|
||||
|
||||
@@ -2462,6 +2462,10 @@ void MainWindow::trayItemClicked(QSystemTrayIcon::ActivationReason reason)
|
||||
} else {
|
||||
hide();
|
||||
}
|
||||
break;
|
||||
case QSystemTrayIcon::MiddleClick:
|
||||
playPauseTrack();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user