summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2016-06-27 12:04:56 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2016-07-05 12:32:02 +0000
commit8516bf6c9d2111d0343338e3eb39d893c6768110 (patch)
tree39b55455e27b8b8b2f9d6d3239b7c60b6eb3a1a1 /examples
parent0b023831782fbecc819987dbddf5937a5c32c47c (diff)
downloadqtivi-8516bf6c9d2111d0343338e3eb39d893c6768110.tar.gz
Refactored the Q_GADGET based Items
The base class was moved into it's own header. The class and all derived classes are now using QSharedData and have a proper copy constructor as well as assignment and compare operators. Changed the QIviAmFmTuner class to use the refactored classes. Change-Id: I334c44e7d0fa49e8e634067a0ece1a1c2b8b789c Reviewed-by: Robert Griebl <robert.griebl@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 80448c9..4376122 100644
--- a/examples/media/mediaplayer/main.qml
+++ b/examples/media/mediaplayer/main.qml
@@ -199,7 +199,7 @@ ApplicationWindow {
MouseArea {
anchors.fill: parent
onClicked: {
- if (item.type === "track")
+ if (item.type === "audiotrack")
mediaPlayer.playQueue.insert(0, item)
else
searchModel.goForward(index, SearchAndBrowseModel.InModelNavigation)