summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2016-07-12 09:48:46 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2016-07-15 13:28:37 +0000
commitf534fcc80abe94b1d58e5877d6715f48fe27deaa (patch)
tree7453e626fa67dd9e31bfe610c33b761fb62e69ac /examples
parent04cecf0f37af28b4b64e9575ca5ba9c6cfd26ea3 (diff)
downloadqtivi-f534fcc80abe94b1d58e5877d6715f48fe27deaa.tar.gz
QIviMedia: Renamed the ItemRole of the DiscoveryModel to ServiceObjectRole
Change-Id: Ie243bf6eafc2cf8bec99fc76fa8c2f67d592b1d8 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/media/mediaplayer/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/media/mediaplayer/main.qml b/examples/media/mediaplayer/main.qml
index c9a4a3f..5a637f5 100644
--- a/examples/media/mediaplayer/main.qml
+++ b/examples/media/mediaplayer/main.qml
@@ -296,14 +296,14 @@ ApplicationWindow {
width: parent.width
Text { text: "Name: " + model.name }
- Text { text: "Type: " + model.item.type }
+ Text { text: "Type: " + model.type }
}
MouseArea {
anchors.fill: parent
onClicked: {
if (browseView.model === discoveryModel) {
- filterModel.serviceObject = model.item
+ filterModel.serviceObject = model.serviceObject
browseView.model = filterModel
return;
}