On Sunday 31 March 2002 17:27, mikelima@virgilio.it wrote: > This other patch appears to work, and it should not leak anything. > KdeDefaultClient should be changed the same way, by the way. > + static QTime t; That would work in theory, but unfortunately, there is a bug in older glibcs, that may cause crashes when unloading the library. So I'd suggest either using a member variable or passing "this" as argument to the (heap-allocated) timer, so that it will be destroyed automatically when "this" is destroyed. Cheers Carsten Pfeiffer >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<