[Kstars-devel] KDE/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Mon Dec 8 16:07:01 CET 2008


SVN commit 894411 by asimha:

The copy constructor for KSPlanetBase failed to initialize the
KStarsData* data pointer, owing to which KStars would seg-fault when
trying to use the conjunction tool on Asteroids. This commit fixes
that crash.

CCMAIL: kstars-devel at kde.org



 M  +1 -0      ksplanetbase.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/ksplanetbase.cpp #894410:894411
@@ -57,6 +57,7 @@
     init( o.name(), "", o.color(), o.physicalSize() );
     Image = *o.image();
     Image0 = *o.image0();
+    data = KStarsData::Instance();
 }
 
 void KSPlanetBase::init( const QString &s, const QString &image_file, const QColor &c, double pSize ) {


More information about the Kstars-devel mailing list