@@ -31,15 +31,13 @@ Item {
3131 property int createdDelegates: 0
3232 property int destroyedDelegates: 0
3333
34− itemComponent: Component {
35− BaseCarouselDelegate {
36− Rectangle {
37− anchors.fill: parent
38− border.color: "black"
39− color: "red"
40− Component.onCompleted: carousel.createdDelegates++
41− Component.onDestruction: carousel.destroyedDelegates++
42− }
34+ itemComponent: BaseCarouselDelegate {
35+ Rectangle {
36+ anchors.fill: parent
37+ border.color: "black"
38+ color: "red"
39+ Component.onCompleted: carousel.createdDelegates++
40+ Component.onDestruction: carousel.destroyedDelegates++
4341 }
4442 }
4543 }