diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-10-06 19:12:55 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2016-10-07 05:50:03 +0000 |
commit | fadcd02fbcbc91695bd2bf6b39e01b2a81df57b5 (patch) | |
tree | e49fb5c9a10be4476616ea6e077d7eec6d22358f | |
parent | a1268320b93be2d47e16ef143838825597a20312 (diff) |
Fix for incorrect plugin parameter handling in mapbox plugin
This patch fixes the incorrect handling of the
mapbox.mapping.highdpi_tiles parameter
Change-Id: I35fb5ae09dc640693c7f0d80534ad7042ca83e27
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp b/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp index 140971b8..3dccca4b 100644 --- a/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp +++ b/src/plugins/geoservices/mapbox/qgeotiledmappingmanagerenginemapbox.cpp @@ -113,7 +113,7 @@ QGeoTiledMappingManagerEngineMapbox::QGeoTiledMappingManagerEngineMapbox(const Q int scaleFactor = 1; if (parameters.contains(QStringLiteral("mapbox.mapping.highdpi_tiles"))) { - const QString param = parameters.value(QStringLiteral("mapbox.highdpi_tiles")).toString().toLower(); + const QString param = parameters.value(QStringLiteral("mapbox.mapping.highdpi_tiles")).toString().toLower(); if (param == "true") scaleFactor = 2; } |