[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [PATCH] b2client does not close on dbl click
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2002-03-31 17:21:32
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic