summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeoroute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeoroute.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativegeoroute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroute.cpp b/src/location/declarativemaps/qdeclarativegeoroute.cpp
index c1f5264b..0144ade9 100644
--- a/src/location/declarativemaps/qdeclarativegeoroute.cpp
+++ b/src/location/declarativemaps/qdeclarativegeoroute.cpp
@@ -192,7 +192,7 @@ QJSValue QDeclarativeGeoRoute::path() const
pathArray->put(i, cv);
}
- return QJSValue(v4, pathArray.asReturnedValue());
+ return QJSValuePrivate::fromReturnedValue(pathArray.asReturnedValue());
}
void QDeclarativeGeoRoute::setPath(const QJSValue &value)