summaryrefslogtreecommitdiffstats
path: root/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-14 11:10:55 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-15 07:59:35 +0000
commit3807b83c62b595727a3e5caea907616fe5899909 (patch)
tree039871f6dbb3847b1578fa2eb5159ddcf3dfb350 /src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
parenta990d458f752aedb8b91aeafb4a62bb7c8ed4c50 (diff)
Fix OSM parameters
The documentation states the plugin uses "osm" as parameter name prefix. These cases where forgotten when this naming convention was introduced. Change-Id: I7a3735e04db7b55b8b3d4d6bf84002d63dbcfea9 Task-number: QTBUG-47188 Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp')
-rw-r--r--src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp b/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
index 4ddc8a79..757b9577 100644
--- a/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
+++ b/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
@@ -75,7 +75,7 @@ QGeoCodingManagerEngineOsm::QGeoCodingManagerEngineOsm(const QVariantMap &parame
m_userAgent = "Qt Location based application";
if (parameters.contains(QStringLiteral("osm.geocoding.host")))
- m_urlPrefix = parameters.value(QStringLiteral("geocoding.host")).toString().toLatin1();
+ m_urlPrefix = parameters.value(QStringLiteral("osm.geocoding.host")).toString().toLatin1();
else
m_urlPrefix = QStringLiteral("http://nominatim.openstreetmap.org");