diff options
Diffstat (limited to 'tests/auto/qml/qqmlinstantiator/data/removeDuringModelChange.qml')
-rw-r--r-- | tests/auto/qml/qqmlinstantiator/data/removeDuringModelChange.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlinstantiator/data/removeDuringModelChange.qml b/tests/auto/qml/qqmlinstantiator/data/removeDuringModelChange.qml new file mode 100644 index 0000000000..079e376549 --- /dev/null +++ b/tests/auto/qml/qqmlinstantiator/data/removeDuringModelChange.qml @@ -0,0 +1,10 @@ +import QtQuick 2.15 +import QtQml.Models 2.15 + +Instantiator { + delegate: QtObject { + function deactivate() { + model.active = false; + } + } +} |