[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/extragear/graphics/digikam/extra/libkmap/libkmap
From:       Michael Georg Hansen <mike () mghansen ! de>
Date:       2011-01-02 11:04:42
Message-ID: 20110102110442.E98C7AC8AE () svn ! kde ! org
[Download RAW message or body]

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()<<myZoom;
--- branches/extragear/graphics/digikam/extra/libkmap/libkmap/kmap_widget.cpp \
#1210829:1210830 @@ -1588,7 +1588,7 @@
 
 /*        if (maxTileLevel != 0)
         {
-            //increase the selection boundaries with 0.1 degrees because some \
thumbnails aren't catched by selection +            //increase the selection \
                boundaries with 0.1 degrees because some thumbnails aren't caught by \
                selection
             latLonBox.setWest((latLonBox.west(Marble::GeoDataCoordinates::Degree)-(0.1/maxTileLevel)), \
                Marble::GeoDataCoordinates::Degree);
             latLonBox.setNorth((latLonBox.north(Marble::GeoDataCoordinates::Degree)+(0.1/maxTileLevel)), \
                Marble::GeoDataCoordinates::Degree);
             latLonBox.setEast((latLonBox.east(Marble::GeoDataCoordinates::Degree)+(0.1/maxTileLevel)), \
Marble::GeoDataCoordinates::Degree);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic