diff options
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeoroutesegment.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroutesegment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp b/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp index 6751a47b..713d434b 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutesegment.cpp @@ -158,7 +158,7 @@ QJSValue QDeclarativeGeoRouteSegment::path() const pathArray->put(i, cv); } - return QJSValue(v4, pathArray.asReturnedValue()); + return QJSValuePrivate::fromReturnedValue(pathArray.asReturnedValue()); } QT_END_NAMESPACE |