Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / propertyQJSValue.reset.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 MyQmlObject {
5     id: root
6     property bool test: false
7
8     qjsvalueWithReset: 9
9
10     Component.onCompleted: {
11         qjsvalueWithReset = undefined
12
13         if (qjsvalueWithReset != "Reset!") return;
14
15         test = true;
16     }
17 }