aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeitem/data
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-05-11 17:20:40 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2011-06-06 11:50:48 +1000
commit6b54de600ce74025bc8ada20bea95ad183a6cd8d (patch)
tree6736888525cd8cd8c2d30bb7b87b3249b74839a5 /tests/auto/declarative/qdeclarativeitem/data
parent6dbd4286eb19e9ac45665046a43342bcdc8b127e (diff)
Initial V8 integration
Diffstat (limited to 'tests/auto/declarative/qdeclarativeitem/data')
-rw-r--r--tests/auto/declarative/qdeclarativeitem/data/mapCoordinates.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeitem/data/mapCoordinates.qml b/tests/auto/declarative/qdeclarativeitem/data/mapCoordinates.qml
index bb20ecc8f6..48fb38da2b 100644
--- a/tests/auto/declarative/qdeclarativeitem/data/mapCoordinates.qml
+++ b/tests/auto/declarative/qdeclarativeitem/data/mapCoordinates.qml
@@ -33,11 +33,11 @@ Item {
function checkMapAToInvalid(x, y) {
var pos = itemA.mapToItem(1122, x, y)
- return pos.x == undefined && pos.y == undefined
+ return pos == undefined;
}
function checkMapAFromInvalid(x, y) {
var pos = itemA.mapFromItem(1122, x, y)
- return pos.x == undefined && pos.y == undefined
+ return pos == undefined;
}
}