[Kst] kdeextragear-2/kst/kst/extensions/elog
Andrew Walker
arwalker at sumusltd.com
Thu Apr 8 00:22:34 CEST 2004
CVS commit by arwalker:
Protect ourselves from the application also closing
M +6 -2 elog.cpp 1.6
--- kdeextragear-2/kst/kst/extensions/elog/elog.cpp #1.5:1.6
@@ -43,5 +43,9 @@ KstELOG::KstELOG(QObject *parent, const
KstELOG::~KstELOG() {
+ if( app() ) {
+ if( app()->guiFactory() ) {
app()->guiFactory()->removeClient(this);
+ }
+ }
delete _elogConfiguration;
More information about the Kst
mailing list