diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-08 03:09:49 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-08 03:09:49 (GMT) |
commit | ccb6235ae842b7e63997210e5169cc00f4e0e5e8 (patch) | |
tree | 6f5bbff96ceef357407f38d968bf28999aa5a460 /tests/auto/declarative/qdeclarativeecmascript/data | |
parent | 0c5f0dcf5749a64449ed444a496a9b9876133abe (diff) | |
download | Qt-ccb6235ae842b7e63997210e5169cc00f4e0e5e8.zip Qt-ccb6235ae842b7e63997210e5169cc00f4e0e5e8.tar.gz Qt-ccb6235ae842b7e63997210e5169cc00f4e0e5e8.tar.bz2 |
Remove usage of Script where not actually testing the obsolete construct.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/listProperties.qml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/listProperties.qml b/tests/auto/declarative/qdeclarativeecmascript/data/listProperties.qml index 810f9b6..216e916 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/data/listProperties.qml +++ b/tests/auto/declarative/qdeclarativeecmascript/data/listProperties.qml @@ -9,15 +9,12 @@ MyQmlObject { QtObject { property int a: 11 } ] - Script { - function calcTest1() { - var rv = 0; - for (var ii = 0; ii < root.objectListProperty.length; ++ii) { - rv += root.objectListProperty[ii].a; - } - return rv; + function calcTest1() { + var rv = 0; + for (var ii = 0; ii < root.objectListProperty.length; ++ii) { + rv += root.objectListProperty[ii].a; } - + return rv; } property int test1: calcTest1(); |