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

Dennis Nienhüser earthwings at gentoo.org
Mon Jan 4 17:04:17 CET 2010


SVN commit 1069978 by nienhueser:

Initialize the d-pointer with the correct class so that the static_cast later operates on the right base.


 M  +2 -1      GeoDataPlacemark.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.cpp #1069977:1069978
@@ -40,8 +40,9 @@
 }
 
 GeoDataPlacemark::GeoDataPlacemark( const QString& name )
-    : GeoDataFeature( name )
+    : GeoDataFeature( new GeoDataPlacemarkPrivate )
 {
+    d->m_name = name;
 }
 
 GeoDataPlacemark::~GeoDataPlacemark()


More information about the Marble-commits mailing list