diff options
Diffstat (limited to 'tests/auto/qtquick2/qquickrepeater/data/initparent.qml')
-rw-r--r-- | tests/auto/qtquick2/qquickrepeater/data/initparent.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickrepeater/data/initparent.qml b/tests/auto/qtquick2/qquickrepeater/data/initparent.qml new file mode 100644 index 0000000000..e6571f09d3 --- /dev/null +++ b/tests/auto/qtquick2/qquickrepeater/data/initparent.qml @@ -0,0 +1,12 @@ +import QtQuick 2.0 + +Item { + id: root + property Item parentItem: null + Repeater { + model: 1 + Item { + Component.onCompleted: root.parentItem = parent + } + } +} |