summaryrefslogtreecommitdiff
path: root/src/imports/location
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-03-20 17:11:04 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-03-22 13:31:37 +0000
commit5efc22f0ac23f8894908a7e701a86771909c2efd (patch)
tree6de933f762a7372fec41205266bc2bd6a6e8c958 /src/imports/location
parentce22c4ce062b7b656353dd857bb62dfb33b0de3c (diff)
downloadqtlocation-5efc22f0ac23f8894908a7e701a86771909c2efd.tar.gz
Deprecate MapParameter, introduce DynamicParameter
Same thing, different name, more suitable for being used outside a Map element (e.g., inside MapObjects, MapItems, or Navigator). Change-Id: I79839ef42daad0347a2b760d61d4124496c56fdd Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/imports/location')
-rw-r--r--src/imports/location/location.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp
index d489d655..45b104b9 100644
--- a/src/imports/location/location.cpp
+++ b/src/imports/location/location.cpp
@@ -184,6 +184,7 @@ public:
// Register the 5.11 types
minor = 11;
qmlRegisterType<QDeclarativeGeoWaypoint>(uri, major, minor, "Waypoint");
+ qmlRegisterType<QDeclarativeGeoMapParameter>(uri, major, minor, "DynamicParameter");
// Register the latest Qt version as QML type version
qmlRegisterModule(uri, QT_VERSION_MAJOR, QT_VERSION_MINOR);