@@ -48,14 +48,16 @@ DashRenderer {
4848
4949 property bool explicitlyScaled
5050 property var model
51+ property int index
5152 enabled: false
5253
54+ objectName: "carouselDelegate" + index
55+
5356 function clicked() { cardCarousel.clicked(index, model.result) }
5457 function pressAndHold() { cardCarousel.pressAndHold(index, model.result) }
5558
5659 sourceComponent: cardTool.cardComponent
5760 onLoaded: {
58− item.objectName = "carouselDelegate" + index;
5961 item.fixedHeaderHeight = Qt.binding(function() { return carousel.headerHeight; });
6062 item.height = Qt.binding(function() { return cardTool.cardHeight; });
6163 item.cardData = Qt.binding(function() { return model; });