summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-02-17 16:51:24 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-02-17 17:03:03 +0000
commit6e5eead48216dc0dceb94235436133e47563b553 (patch)
tree4a5556163689bf364870e2d6640b5cb56e59e990
parente0c9c70b229e6b5dbe99e3cfb258206e4a5570b3 (diff)
downloadqtlocation-6e5eead48216dc0dceb94235436133e47563b553.tar.gz
Move mapboxgl.use_fbo to the mapboxgl.mapping namespace
Follow the pattern, as this only affects how maps are rendered. Change-Id: Ieacc3df4149fb5045b15f2cee6d4521e93de5b6e Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r--src/location/doc/src/plugins/mapboxgl.qdoc2
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/location/doc/src/plugins/mapboxgl.qdoc b/src/location/doc/src/plugins/mapboxgl.qdoc
index 29a5cb20..21222792 100644
--- a/src/location/doc/src/plugins/mapboxgl.qdoc
+++ b/src/location/doc/src/plugins/mapboxgl.qdoc
@@ -102,7 +102,7 @@ The following table lists optional parameters that can be passed to the Mapbox p
The default size of this cache is 50 MiB.
Make sure to comply with Mapbox Terms of Service before increasing this value.
\row
- \li mapboxgl.use_fbo
+ \li mapboxgl.mapping.use_fbo
\li Sets whether to use a framebuffer object to render Mapbox GL Native.
Valid values are \b true and \b false. The default value is \b true. When
set to \b false, the map is rendered issuing OpenGL commands directly,
diff --git a/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp
index 0196c703..c87b458d 100644
--- a/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp
@@ -133,8 +133,8 @@ QGeoMappingManagerEngineMapboxGL::QGeoMappingManagerEngineMapboxGL(const QVarian
m_settings.setCacheDatabaseMaximumSize(cacheSize);
}
- if (parameters.contains(QStringLiteral("mapboxgl.use_fbo"))) {
- m_useFBO = parameters.value(QStringLiteral("mapboxgl.use_fbo")).toBool();
+ if (parameters.contains(QStringLiteral("mapboxgl.mapping.use_fbo"))) {
+ m_useFBO = parameters.value(QStringLiteral("mapboxgl.mapping.use_fbo")).toBool();
}
engineInitialized();