summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickitem2/data/parentLoop.qml
blob: 7b6560fbf7fdd9b0de90c1b6f4d690a1353edb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0

Item {
    Item {
        id: item1
        objectName: "item1"

        Item {
            id: item2
            objectName: "item2"
        }
    }
    Component.onCompleted: item1.parent = item2
}