summaryrefslogtreecommitdiff
path: root/examples/location/places/views/CategoryDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/places/views/CategoryDelegate.qml')
-rw-r--r--examples/location/places/views/CategoryDelegate.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/location/places/views/CategoryDelegate.qml b/examples/location/places/views/CategoryDelegate.qml
index 238cbdb5..2080b928 100644
--- a/examples/location/places/views/CategoryDelegate.qml
+++ b/examples/location/places/views/CategoryDelegate.qml
@@ -60,7 +60,6 @@ Item {
signal searchCategory()
signal showSubcategories()
- width: parent.width
height: Math.max(icon.height, labelItem.height * 2)
Image {
@@ -107,7 +106,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
anchors.rightMargin: 15
visible: model.hasModelChildren
- iconSource: "../../resources/right.png"
+ icon.source: Qt.resolvedUrl("../resources/right.png")
onClicked: root.showSubcategories()
}
//! [CategoryModel delegate arrow]