diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2016-06-27 12:04:56 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2016-07-05 12:32:02 +0000 |
commit | 8516bf6c9d2111d0343338e3eb39d893c6768110 (patch) | |
tree | 39b55455e27b8b8b2f9d6d3239b7c60b6eb3a1a1 /examples/media/mediaplayer/main.qml | |
parent | 0b023831782fbecc819987dbddf5937a5c32c47c (diff) | |
download | qtivi-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/media/mediaplayer/main.qml')
-rw-r--r-- | examples/media/mediaplayer/main.qml | 2 |
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) |