summaryrefslogtreecommitdiff
path: root/examples/location/places/views/EditorialView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/places/views/EditorialView.qml')
-rw-r--r--examples/location/places/views/EditorialView.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/location/places/views/EditorialView.qml b/examples/location/places/views/EditorialView.qml
index 721e26f2..0e086f55 100644
--- a/examples/location/places/views/EditorialView.qml
+++ b/examples/location/places/views/EditorialView.qml
@@ -55,11 +55,10 @@ import QtLocation
ListView {
id:view
property Place place
- signal showEditorial(variant editorial)
- width: parent.width
- height: parent.height
+ signal showEditorial(var editorial)
model: place.editorialModel
delegate: EditorialDelegate {
+ width: ListView.view.width
onShowEditorial: view.showEditorial(model)
}
}