diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.1.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.1.qml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.1.qml b/tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.1.qml deleted file mode 100644 index 219e61bf91..0000000000 --- a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVar.1.qml +++ /dev/null @@ -1,22 +0,0 @@ -import QtQuick 2.0 - -Item { - id: root - property bool test: false - - property var car: new vehicle(4); - property int wheelCount: car.wheels - - function vehicle(wheels) { - this.wheels = wheels; - } - - Component.onCompleted: { - car.wheels = 6; // not bindable, wheelCount shouldn't update - - if (car.wheels != 6) return; - if (wheelCount != 4) return; - - test = true; - } -} |