From 8516bf6c9d2111d0343338e3eb39d893c6768110 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Mon, 27 Jun 2016 12:04:56 +0200 Subject: 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 --- examples/media/mediaplayer/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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) -- cgit v1.2.1