Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Next try. To see how it works change the event_delay_ms >> variable in the constructor to 3000 and use -dbg 12. > > This looks way too complicated Peter. There must be a simpler solution. > > Abdel. >
Is this your only comment? Anyway I don't think there is a simpler solution, at least I will not look for it, this bug has cost me already too much time. Dimitri from Trolltech wrote on a similar problem: "You'll need to maintain flags, QTimers waiting N milliseconds and other data to achive that. There's no equivalent information maintained by Qt." http://lists.trolltech.com/qt-interest/2006-02/thread00129-0.html Hope this has convinced you. ;) -- Peter Kümmel