summaryrefslogtreecommitdiff
path: root/src/imports/location/location.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-07-09 11:15:35 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-07-09 13:13:46 +0200
commitf2e3523e3fcec83845a0ec73ff682367202a84f6 (patch)
tree6d77d1cb99a15efc9786b3a4ed1108c5d611bbcf /src/imports/location/location.cpp
parent181605809f658537c4d0c5e174c5dd3167eb818c (diff)
downloadqtlocation-f2e3523e3fcec83845a0ec73ff682367202a84f6.tar.gz
Register all QtLocation QML types for version 5.4
Change-Id: Idd345621b8f3069dc53008dfa99b33f1006cd5ce Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/imports/location/location.cpp')
-rw-r--r--src/imports/location/location.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/imports/location/location.cpp b/src/imports/location/location.cpp
index 7bb37623..1adc80ad 100644
--- a/src/imports/location/location.cpp
+++ b/src/imports/location/location.cpp
@@ -151,10 +151,12 @@ public:
"Only Place types have ContactDetails and they cannot "
"be re-assigned (but can be modified).");
- // Register the 5.3 types
// Introduction of 5.3 version; existing 5.0 exports automatically become available under 5.3 as well
// 5.3 is committed QML API despite missing release of QtLocation 5.3
- minor = 3;
+
+ // Register the 5.4 types
+ // Implicitly registers 5.3
+ minor = 4;
// For now there are no new types; just reregister one existing 5.0 type
qmlRegisterType<QDeclarativeGeoServiceProvider >(uri, major, minor, "Plugin");