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

Thibaut Gridel tgridel at free.fr
Sat Jan 15 14:33:56 CET 2011


SVN commit 1214583 by tgridel:

geodataplacemark: fix parent of coordinate geometry

 M  +3 -0      GeoDataPlacemark.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.cpp #1214582:1214583
@@ -29,17 +29,20 @@
 GeoDataPlacemark::GeoDataPlacemark()
     : GeoDataFeature( new GeoDataPlacemarkPrivate )
 {
+    p()->m_coordinate.setParent( this );
 }
 
 GeoDataPlacemark::GeoDataPlacemark( const GeoDataPlacemark& other )
 : GeoDataFeature( other )
 {
+    p()->m_coordinate.setParent( this );
 }
 
 GeoDataPlacemark::GeoDataPlacemark( const QString& name )
     : GeoDataFeature( new GeoDataPlacemarkPrivate )
 {
     d->m_name = name;
+    p()->m_coordinate.setParent( this );
 }
 
 GeoDataPlacemark::~GeoDataPlacemark()


More information about the Marble-commits mailing list