@@ -31,10 +31,13 @@ Item {
3131 property int createdDelegates: 0
3232 property int destroyedDelegates: 0
3333
34− itemComponent: Rectangle {
35− color: "red"
36− Component.onCompleted: carousel.createdDelegates++
37− Component.onDestruction: carousel.destroyedDelegates++
34+ itemComponent: BaseCarouselDelegate {
35+ Rectangle {
36+ anchors.fill: parent
37+ color: "red"
38+ Component.onCompleted: carousel.createdDelegates++
39+ Component.onDestruction: carousel.destroyedDelegates++
40+ }
3841 }
3942 }
4043 TestCase {