[Marble-commits] KDE/kdeedu/marble/src/lib

Bernhard Beschow bbeschow at cs.tu-berlin.de
Sun Dec 5 17:38:44 CET 2010


SVN commit 1203905 by beschow:

properly initialize visibility variables for PlacemarkLayout

 M  +4 -1      MarbleMap.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleMap.cpp #1203904:1203905
@@ -206,7 +206,10 @@
     }
 
     // Paint the GeoDataPlacemark layer
-    bool showPlaces, showCities, showTerrain, showOtherPlaces;
+    bool showPlaces = false;
+    bool showCities = false;
+    bool showTerrain = false;
+    bool showOtherPlaces = false;
 
     m_viewParams.propertyValue( "places", showPlaces );
     m_viewParams.propertyValue( "cities", showCities );


More information about the Marble-commits mailing list