--nextPart8057319.2KsCpiuRUT Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 08 April 2008, Andre Duffeck wrote: > force-sync() the config on application exit until we figure out why it's > not saved automatically > > PlasmaApp::~PlasmaApp() > { > + //TODO: This manual sync() should not be necessary. Remove it when > + // KConfig was fixed > + KGlobal::config()->sync(); Make sure ~KConfig gets called - if it doesn't get called something is leak= ing=20 a reference to the global KConfig object. E.g. KComponentData refs KConfig,= =20 but there could also be others. The most straightforward way to leak the=20 global config is: new KSharedConfigPtr(KGlobal::config()); =2D-=20 ________________________________________________________ Matthias Kretz (Germany) <>< http://Vir.homelinux.org/ MatthiasKretz@gmx.net, kretz@kde.org, Matthias.Kretz@urz.uni-heidelberg.de --nextPart8057319.2KsCpiuRUT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBH+0/1yg4WnCj6OIoRAvT8AKCfddLxZ8pnicOqmdePytJ+VfRZSgCfUb1x VLHqQYCQPi+bLJjviqmaumA= =WxB+ -----END PGP SIGNATURE----- --nextPart8057319.2KsCpiuRUT--