aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmldelegatemodel/data/modifyObjectUnderConstruction.qml
blob: f21577e39559352d9dfca57f03d3028976f19f9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
        }
    }
}