summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-01-04 17:07:05 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2017-01-12 09:37:07 +0000
commit83da1a0c5cdb31379caef4541501435c8a0e5329 (patch)
tree948e32b6f574dddd2d85d3813fdc6eb6bf35050b /examples
parente8c22fe783deeea75dbcc771b51e504ce2da3635 (diff)
downloadqtivi-83da1a0c5cdb31379caef4541501435c8a0e5329.tar.gz
media_simulator: Emit currentIndexChanged on insert/remove/move
Change-Id: Ieb26460afa2bec79d5b49f39d1a9709e0bdcb08f Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/media/mediaplayer/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/media/mediaplayer/main.qml b/examples/media/mediaplayer/main.qml
index 9e05e5b..941a296 100644
--- a/examples/media/mediaplayer/main.qml
+++ b/examples/media/mediaplayer/main.qml
@@ -120,7 +120,7 @@ ApplicationWindow {
delegate: Rectangle {
width: ListView.view.width
height: column.height
- color: "#efefef"
+ color: mediaPlayer.playQueue.currentIndex == index ? "lightblue" : "#efefef"
MouseArea {
anchors.fill: parent