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

List:       pykde
Subject:    Re: [PyKDE] GUI not updateing ?
From:       Ismail Donmez <ismail () pardus ! org ! tr>
Date:       2006-09-24 12:59:02
Message-ID: 200609241559.02606.ismail () pardus ! org ! tr
[Download RAW message or body]

24 Eyl 2006 Paz 15:38 tarihinde, Detlev Offenbach şunları yazmıştı: 
[...]
> > > Try QApplication.processEvents() after the setProgress call.
> >
> > Or use events to communicate the progress. I haven't had the experience
> > yet, but many qt and kde developers say that processEvents is evil and
> > should be avoided, it might have mysterious side effects.
>
> Which ones?

If you used deleteLater() for an QObject, processEvents() might delete that 
object which might result in a crash.

Regards,
ismail

-- 
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-- Benjamin Franklin

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

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

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