From kde-commits Sun Jan 02 11:04:42 2011 From: Michael Georg Hansen Date: Sun, 02 Jan 2011 11:04:42 +0000 To: kde-commits Subject: branches/extragear/graphics/digikam/extra/libkmap/libkmap Message-Id: <20110102110442.E98C7AC8AE () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129396631610881 SVN commit 1210830 by mghansen: Fix some krazy2 warnings. M +1 -1 backend-marble.cpp M +1 -1 backend-osm.cpp M +1 -1 kmap_widget.cpp --- branches/extragear/graphics/digikam/extra/libkmap/libkmap/backend-marble.cpp #1210829:1210830 @@ -342,7 +342,7 @@ KAction* const actionSpherical = new KAction(d->actionGroupProjection); actionSpherical->setCheckable(true); - actionSpherical->setText(i18n("Spherical")); + actionSpherical->setText(i18nc("Spherical projection", "Spherical")); actionSpherical->setData(QLatin1String("spherical" )); KAction* const actionMercator = new KAction(d->actionGroupProjection); --- branches/extragear/graphics/digikam/extra/libkmap/libkmap/backend-osm.cpp #1210829:1210830 @@ -442,7 +442,7 @@ { // zoom settings for OSM are basically the same as for Google Maps, so just re-use the prefix const QString myZoomString = s->worldMapWidget->convertZoomToBackendZoom(newZoom, "googlemaps"); - KMAP_ASSERT(myZoomString.startsWith("googlemaps:")); + KMAP_ASSERT(myZoomString.startsWith(QLatin1String("googlemaps:"))); const int myZoom = myZoomString.mid(QLatin1String("googlemaps:").length()).toInt(); kDebug()<