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