touch: Add more PlayerPage implementation

This commit is contained in:
Thomas Perl 2014-02-04 23:15:24 +01:00
parent 20818b6105
commit 79ecd8fbe4
3 changed files with 41 additions and 26 deletions

View file

@ -47,7 +47,7 @@ Item {
width: parent.width
IconMenuItem {
text: 'Play'
text: episodeItem.isPlaying ? 'Pause' : 'Play'
iconSource: 'icons/' + (episodeItem.isPlaying ? 'pause_24x32.png' : 'play_24x32.png')
onClicked: {
if (episodeItem.isPlaying) {