diff options
Diffstat (limited to 'tests/auto/qml/qqmldelegatemodel/data/modifyObjectUnderConstruction.qml')
-rw-r--r-- | tests/auto/qml/qqmldelegatemodel/data/modifyObjectUnderConstruction.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmldelegatemodel/data/modifyObjectUnderConstruction.qml b/tests/auto/qml/qqmldelegatemodel/data/modifyObjectUnderConstruction.qml new file mode 100644 index 0000000000..f21577e395 --- /dev/null +++ b/tests/auto/qml/qqmldelegatemodel/data/modifyObjectUnderConstruction.qml @@ -0,0 +1,18 @@ +import QtQuick + +Window { + id: window + width: 640 + height: 480 + visible: true + property alias testModel: repeater.model + + Repeater { + id: repeater + model: 1 + delegate: Item { + Component.onCompleted: repeater.model = 0 + } + } +} + |