summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativegeoserviceprovider.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-01-06 16:39:10 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-08 09:01:28 +0100
commit4d3134b673faf5eb3c84e37bff25c8d678172ee3 (patch)
tree06b053e2a5c9803ca53c46f57878da679a7b2efa /src/imports/location/qdeclarativegeoserviceprovider.cpp
parenta12f2caf8fd801fc84953072bae7d185ba0ed109 (diff)
downloadqtlocation-4d3134b673faf5eb3c84e37bff25c8d678172ee3.tar.gz
Use QVariantMap instead of QMap<QString, QVariant>.
It is shorter, easier to read, easier to type and it doesn't affect the ABI. Change-Id: Ic4d8a371d00b434ac84382dd75d8d82a963089cb Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeoserviceprovider.cpp')
-rw-r--r--src/imports/location/qdeclarativegeoserviceprovider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeoserviceprovider.cpp b/src/imports/location/qdeclarativegeoserviceprovider.cpp
index f91b9ed1..da92644c 100644
--- a/src/imports/location/qdeclarativegeoserviceprovider.cpp
+++ b/src/imports/location/qdeclarativegeoserviceprovider.cpp
@@ -571,9 +571,9 @@ void QDeclarativeGeoServiceProvider::parameter_clear(QQmlListProperty<QDeclarati
/*!
\internal
*/
-QMap<QString, QVariant> QDeclarativeGeoServiceProvider::parameterMap() const
+QVariantMap QDeclarativeGeoServiceProvider::parameterMap() const
{
- QMap<QString, QVariant> map;
+ QVariantMap map;
for (int i = 0; i < parameters_.size(); ++i) {
QDeclarativeGeoServiceProviderParameter *parameter = parameters_.at(i);