diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefinedWithoutReset1.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefinedWithoutReset1.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefinedWithoutReset1.qml b/tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefinedWithoutReset1.qml new file mode 100644 index 0000000000..c0b5994887 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/qpropertyBindingUndefinedWithoutReset1.qml @@ -0,0 +1,6 @@ +import Qt.test 1.0 +ClassWithQProperty { + property int anotherValue: 1 + property bool toggle: false + value2: toggle ? undefined : anotherValue +} |