summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-15 09:27:26 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-02-15 08:54:10 +0000
commit5950440ff18d9138b083d17a5bc8785f82beb4dc (patch)
tree27a279967328300a3e0107371d8dd841b8f19301 /src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
parentd50b412bb54644470d7f7f61c6797ba394716890 (diff)
downloadqtlocation-5950440ff18d9138b083d17a5bc8785f82beb4dc.tar.gz
QGeoMapMapboxGL: Fix tr()-context of warning
QObject::tr() should not be used. Amends 68b515cdff46dc1030b027a664ef5f3f6cde946a. Change-Id: Id22f730d9bd09c41a22783d1b5530835e9fb0d1c Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp')
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
index eefaaa4b..b0987c73 100644
--- a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
@@ -622,7 +622,7 @@ void QGeoMapMapboxGL::copyrightsChanged(const QString &copyrightsHtml)
if (d->m_developmentMode) {
copyrightsHtmlFinal.prepend("<a href='https://www.mapbox.com/pricing'>"
- + QObject::tr("Development access token, do not use in production!") + "</a> - ");
+ + tr("Development access token, do not use in production!") + "</a> - ");
}
if (d->m_activeMapType.name().startsWith("mapbox://")) {