diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-15 09:27:26 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-15 08:54:10 +0000 |
commit | 5950440ff18d9138b083d17a5bc8785f82beb4dc (patch) | |
tree | 27a279967328300a3e0107371d8dd841b8f19301 /src/plugins/geoservices/mapboxgl | |
parent | d50b412bb54644470d7f7f61c6797ba394716890 (diff) | |
download | qtlocation-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')
-rw-r--r-- | src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp | 2 |
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 ©rightsHtml) 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://")) { |