diff options
5 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/location/qdeclarativegeoroute.cpp b/src/imports/location/qdeclarativegeoroute.cpp index db5c508f..4a4fe9f8 100644 --- a/src/imports/location/qdeclarativegeoroute.cpp +++ b/src/imports/location/qdeclarativegeoroute.cpp @@ -181,7 +181,7 @@ QJSValue QDeclarativeGeoRoute::path() const pathArray->putIndexed(i, cv); } - return new QJSValuePrivate(v4, pathArray.asValue()); + return new QJSValuePrivate(v4, QV4::ValueRef(pathArray)); } void QDeclarativeGeoRoute::setPath(const QJSValue &value) diff --git a/src/imports/location/qdeclarativegeoroutemodel.cpp b/src/imports/location/qdeclarativegeoroutemodel.cpp index 0b3ff80a..48375c56 100644 --- a/src/imports/location/qdeclarativegeoroutemodel.cpp +++ b/src/imports/location/qdeclarativegeoroutemodel.cpp @@ -746,7 +746,7 @@ QJSValue QDeclarativeGeoRouteQuery::waypoints() waypointArray->putIndexed(i, cv); } - return new QJSValuePrivate(v4, waypointArray.asValue()); + return new QJSValuePrivate(v4, QV4::ValueRef(waypointArray)); } void QDeclarativeGeoRouteQuery::setWaypoints(const QJSValue &value) @@ -805,7 +805,7 @@ QJSValue QDeclarativeGeoRouteQuery::excludedAreas() const excludedAreasArray->putIndexed(i, cv); } - return new QJSValuePrivate(v4, excludedAreasArray.asValue()); + return new QJSValuePrivate(v4, QV4::ValueRef(excludedAreasArray)); } void QDeclarativeGeoRouteQuery::setExcludedAreas(const QJSValue &value) diff --git a/src/imports/location/qdeclarativegeoroutesegment.cpp b/src/imports/location/qdeclarativegeoroutesegment.cpp index d1f19751..3335e3cd 100644 --- a/src/imports/location/qdeclarativegeoroutesegment.cpp +++ b/src/imports/location/qdeclarativegeoroutesegment.cpp @@ -167,7 +167,7 @@ QJSValue QDeclarativeGeoRouteSegment::path() const pathArray->putIndexed(i, cv); } - return new QJSValuePrivate(v4, pathArray.asValue()); + return new QJSValuePrivate(v4, QV4::ValueRef(pathArray)); } #include "moc_qdeclarativegeoroutesegment_p.cpp" diff --git a/src/imports/location/qdeclarativepolygonmapitem.cpp b/src/imports/location/qdeclarativepolygonmapitem.cpp index 43178f56..efd8be2c 100644 --- a/src/imports/location/qdeclarativepolygonmapitem.cpp +++ b/src/imports/location/qdeclarativepolygonmapitem.cpp @@ -401,7 +401,7 @@ QJSValue QDeclarativePolygonMapItem::path() const pathArray->putIndexed(i, cv); } - return new QJSValuePrivate(v4, pathArray.asValue()); + return new QJSValuePrivate(v4, QV4::ValueRef(pathArray)); } void QDeclarativePolygonMapItem::setPath(const QJSValue &value) diff --git a/src/imports/location/qdeclarativepolylinemapitem.cpp b/src/imports/location/qdeclarativepolylinemapitem.cpp index 0f16acbd..5ffe9e8a 100644 --- a/src/imports/location/qdeclarativepolylinemapitem.cpp +++ b/src/imports/location/qdeclarativepolylinemapitem.cpp @@ -512,7 +512,7 @@ QJSValue QDeclarativePolylineMapItem::path() const pathArray->putIndexed(i, cv); } - return new QJSValuePrivate(v4, pathArray.asValue()); + return new QJSValuePrivate(v4, QV4::ValueRef(pathArray)); } void QDeclarativePolylineMapItem::setPath(const QJSValue &value) |