diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-09-30 11:35:43 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-01 12:00:33 +0200 |
commit | 01f22d3ddd752148624f4ffd47c3f62b0f0c0d82 (patch) | |
tree | 35573cc53bb06ddf7854758f493b4d9ad489e0b1 | |
parent | a54ecd3d19c871461b77f8e0a01bb5c13fd9fca6 (diff) | |
download | qtlocation-01f22d3ddd752148624f4ffd47c3f62b0f0c0d82.tar.gz |
Make QtLocation QML module compile after QJSValuePrivate constructor change
Change-Id: Ib38ebdbed68689cca035cefa46e02e68bf63ae0b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
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) |