[PyKDE] destructor not getting called?

Detlev Offenbach detlev at die-offenbachs.de
Sat Nov 9 12:32:01 GMT 2002


Am Freitag, 8. November 2002 16:38 schrieb Kaleb Pederson:

...

> >
> >Maybe I was just lucky, and have the QSettings object call the
>
> destructor.
>
> >Anyway, it's one part of my application where I've never had
> > problems.
>
> Maybe.  My settings had been working great for the last couple months,
> as far as I know, and they still work great in Windows.  That's why
> I'm curious to test out under a different version of PyQt.
>

I am using it basically the same way in eric. In the main window class I 
have included a closeEvent method that writes all the cached settings to 
disc using the writeEntry methods of QSettings. So far I haven't lost 
any data using Qt 3.0.3 up to 3.0.5 and various versions of PyQt up to 
the latest snapshot.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list