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:
craig.p.drummond
2012-09-30 20:16:54 +00:00
committed by craig.p.drummond
parent 6445979481
commit 293c8f4b5d
2 changed files with 6 additions and 0 deletions

View File

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

View File

@@ -2462,6 +2462,10 @@ void MainWindow::trayItemClicked(QSystemTrayIcon::ActivationReason reason)
} else {
hide();
}
break;
case QSystemTrayIcon::MiddleClick:
playPauseTrack();
break;
default:
break;
}