diff options
Diffstat (limited to 'tests/auto/qml/qqmlinstantiator/data/createNone.qml')
-rw-r--r-- | tests/auto/qml/qqmlinstantiator/data/createNone.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlinstantiator/data/createNone.qml b/tests/auto/qml/qqmlinstantiator/data/createNone.qml new file mode 100644 index 0000000000..275e27c4b6 --- /dev/null +++ b/tests/auto/qml/qqmlinstantiator/data/createNone.qml @@ -0,0 +1,12 @@ +import QtQml 2.1 + +Instantiator { + model: 0 + property bool success: true + QtObject { + property bool success: true + property int idx: index + } + onObjectChanged: success = false;//Don't create intermediate objects + onCountChanged: success = false;//Don't create intermediate objects +} |