Commit fadcd02f authored by Paolo Angelelli's avatar Paolo Angelelli Committed by Alex Blasche
Browse files

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: default avatarAlex Blasche <alexander.blasche@qt.io>
parent a1268320
Branches
Tags
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment