[Kstars-devel] KDE/kdeedu/kstars/kstars
Prakash Mohan
prak902000 at gmail.com
Sat Aug 22 06:58:36 CEST 2009
SVN commit 1014243 by prakash:
Fixing a crash in the kspopupmenu, the ks variable was not initialized.
Thanks Akarsh for pointing this out.
CCMAIL: kstars-devel at kde.org
M +1 -0 kspopupmenu.cpp
--- trunk/KDE/kdeedu/kstars/kstars/kspopupmenu.cpp #1014242:1014243
@@ -172,6 +172,7 @@
labName = new QLabel( "<b>"+s1+"</b>", this );
labName->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
aName = new KAction( this );
+ ks = KStars::Instance();
ks->actionCollection()->addAction( "title_name1", aName );
aName->setDefaultWidget( labName );
addAction( aName );
More information about the Kstars-devel
mailing list