[Qt-interest] The dangers of removePostedEvents?
Mihail Naydenov
mlists at ymail.com
Mon Nov 29 10:53:10 CET 2010
Hello,
I ended up using QApplicstion::removePostedEvents, but the docs advice not to.
"...You should never need to call this function. If you do call it, be aware
that killing events may cause receiver to break one or more invariants."
Please explain this section to me, what are the real dangers I might run into?
Thus far I found that removePostedEvents is *exactly* what I need, and my
program behaves best when using it,
but I am a bit frightened by this warning.
Thank you in advance.
MihailNaydenov
More information about the Qt-interest-old
mailing list