summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoserviceprovider_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-27 10:24:19 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-29 07:01:30 +0000
commit2397518e46a9ef81c0772049787eb52f915306f1 (patch)
treeeb0cd84103e54b3d8872963b5898d7e1a6eb3cc3 /src/location/maps/qgeoserviceprovider_p.h
parent0490531f24a61c632a4ef8c982e483f066d17456 (diff)
downloadqtlocation-2397518e46a9ef81c0772049787eb52f915306f1.tar.gz
Don't share provider specific parameters with unrelated plugins
As an example the HERE plugin requires the here.app_id and here.token parameter. There is no point in passing those parameters on to e.g. the mapbox plugin. The OSM, mapbox and here plugin were already converted in such a way that they only use prefixed parameter keys. Non-prefixed parameters continue to be shared among all plugins. Change-Id: I9bdc0dccb95160a842800b785916f18ed78fdcd7 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeoserviceprovider_p.h')
-rw-r--r--src/location/maps/qgeoserviceprovider_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/maps/qgeoserviceprovider_p.h b/src/location/maps/qgeoserviceprovider_p.h
index fd81483c..6bfb9b26 100644
--- a/src/location/maps/qgeoserviceprovider_p.h
+++ b/src/location/maps/qgeoserviceprovider_p.h
@@ -72,6 +72,7 @@ public:
void loadMeta();
void loadPlugin(const QVariantMap &parameters);
void unload();
+ void filterParameterMap();
/* helper templates for generating the feature and manager accessors */
template <class Manager, class Engine>
@@ -84,6 +85,7 @@ public:
QJsonObject metaData;
QVariantMap parameterMap;
+ QVariantMap cleanedParameterMap;
bool experimental;