diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml b/tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml index b7bec63..fe0492f 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml +++ b/tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml @@ -1,14 +1,12 @@ -import Qt 4.6 +import Qt 4.7 Item { property int a: 3 property int binding: myFunction(); property int binding2: myCompFunction(); - Script { - function myCompFunction() { - return a; - } + function myCompFunction() { + return a; } } |