Peter Kümmel wrote:
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?
Yes. Sorry, don't have the time to do much more. I thought I'd share my
opinion ;-)
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.
I can understand that. I was thinking of collecting the scroll events
and cancelling them if a scroll operation is still on-going but maybe
that's what your patch do. I only briefly looked at it and it _seems_
very complicated.
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. ;)
I trust you.
Abdel.