summaryrefslogtreecommitdiff
path: root/examples/location/places/views/ReviewView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/places/views/ReviewView.qml')
-rw-r--r--examples/location/places/views/ReviewView.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/location/places/views/ReviewView.qml b/examples/location/places/views/ReviewView.qml
index 953433b4..820c34a9 100644
--- a/examples/location/places/views/ReviewView.qml
+++ b/examples/location/places/views/ReviewView.qml
@@ -55,11 +55,10 @@ import QtLocation
ListView {
id:view
property Place place
- signal showReview(variant review)
- width: parent.width
- height: parent.height
+ signal showReview(var review)
model: place.reviewModel
delegate: ReviewDelegate {
+ width: ListView.view.width
onShowReview: view.showReview(model)
}
}