on xenial help sign in
Undo unnecessary change.
f2b5573Michał Sawicz
tests/qmltests/Components/tst_Carousel.qml+7−9
@@ -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
33
33
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++
42− }
43 }
41 }
44 }
42 }
45 }
43 }