[Kstars-devel] KDE/kdeedu/kstars/kstars
Khudyakov Alexey
alexey.skladnoy at gmail.com
Sat Aug 22 10:08:10 CEST 2009
В сообщении от Суббота 22 августа 2009 09:28:31 вы написали:
> SVN commit 1014246 by prakash:
>
> Avoid passing of a signleton class' instance. Fixing a crash in the
> Observing list popup menu. There however seems to be a problem with the
> KStars::Instance() function, needs some investigation it returs a NULL
> pointer at times.
>
I encountered this. KStars::Instance returns NULL during KStars construction.
KStars *KStars::createInstance( bool doSplash, bool clockrun, const QString
&startdate )
{
if( pinstance )
delete pinstance;
pinstance = new KStars( doSplash, clockrun, startdate );
return pinstance;
}
More information about the Kstars-devel
mailing list