summaryrefslogtreecommitdiff
path: root/src/imports/location/location.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-07-08 13:34:16 +0200
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-07-13 14:31:17 +0000
commit0891ea11e0000289354ab62f8c4c3d21e008823a (patch)
tree2dd1b29e70657b3049ae7a72e19d3cf5d2adc06d /src/imports/location/location.cpp
parenta64e4ca46b695099cf8b08eefd5131e5ae5aa42a (diff)
downloadqtlocation-0891ea11e0000289354ab62f8c4c3d21e008823a.tar.gz
Make QQuickGeoMapGestureArea a QQuickItem
Change-Id: Ifa732d0d1d1396dc8a8c4663e72741a0d3f7d4a6 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r--src/imports/location/location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp
index 476fcb0c..c19a4065 100644
--- a/src/imports/location/location.cpp
+++ b/src/imports/location/location.cpp
@@ -110,7 +110,7 @@ public:
qmlRegisterType<QDeclarativeGeoManeuver >(uri, major, minor, "RouteManeuver");
qmlRegisterUncreatableType<QDeclarativeGeoMapPinchEvent >(uri, major, minor, "MapPinchEvent",
QStringLiteral("(Map)PinchEvent is not intended instantiable by developer."));
- qmlRegisterUncreatableType<QDeclarativeGeoMapGestureArea>(uri, major, minor, "MapGestureArea",
+ qmlRegisterUncreatableType<QQuickGeoMapGestureArea>(uri, major, minor, "MapGestureArea",
QStringLiteral("(Map)GestureArea is not intended instantiable by developer."));
qmlRegisterUncreatableType<QDeclarativeGeoMapType >(uri, major, minor, "MapType",
QStringLiteral("MapType is not intended instantiable by developer."));
@@ -154,7 +154,7 @@ public:
QStringLiteral("MapType is not intended instantiable by developer."));
minor = 6;
//TODO: this is broken QTBUG-40043
- qmlRegisterUncreatableType<QDeclarativeGeoMapGestureArea, 1>(uri, major, minor, "MapGestureArea",
+ qmlRegisterUncreatableType<QQuickGeoMapGestureArea, 1>(uri, major, minor, "MapGestureArea",
QStringLiteral("(Map)GestureArea is not intended instantiable by developer."));