Using QApplication::processEvents

Alexander Neundorf neundorf at kde.org
Tue May 2 23:02:09 UTC 2006


On Tuesday 02 May 2006 21:58, Andras Mantia wrote:
> On Tuesday 02 May 2006 18:19, Jens Dagerbo wrote:
> > There are still a few of them left and I have on my todo to remove a
> > few more of them.. please don't add more of them.
>
> I agree, please don't do it. Use timers (singleshot) or whatever, but
> not processEvents. And if you really want to use it, use should use
> ExcludeUserInput and ExcludeSocketNotifiers. But better don't use it at
> all.

Same here, processEvents() is *evil*.
Caused also a major bug in kfind.
Don't use it.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net




More information about the KDevelop-devel mailing list