diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-13 11:12:41 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-13 10:32:27 +0000 |
commit | 5de8061470c9bc89b1add1f681a732404e04c53e (patch) | |
tree | 7b856d948c78acd4f11f045d69595dd7cb39515f /src/plugins/geoservices/mapboxgl | |
parent | c3eb798dc7b4e82b86169533ae59648205d88d48 (diff) | |
download | qtlocation-5de8061470c9bc89b1add1f681a732404e04c53e.tar.gz |
QGeoMapMapboxGL: Fix tr()-context of warning
QObject::tr() should not be used.
Amends f5021281c56b660b81d0122608ca9b577889f99e.
Change-Id: I5eb56f462bbf9894585acc563f911c02b3f70dc5
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 00e088c1..053a926e 100644 --- a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp +++ b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp @@ -397,7 +397,7 @@ void QGeoMapMapboxGL::copyrightsChanged(const QString ©rightsHtml) if (d->m_developmentMode) { QString copyrightsHtmlDev = "<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> - " + copyrightsHtml; QGeoMap::copyrightsChanged(copyrightsHtmlDev); } else { |