Fix Qt applications freezing until mouse/keyboard events occur.
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 30 Aug 2010 12:57:06 +0000 (14:57 +0200)
committerBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 30 Aug 2010 12:57:06 +0000 (14:57 +0200)
commiteb1015c7bbf135af3656110a4d112377c1209db8
tree3d141b8f98941fd46ca7c02b1f59226c888f5916
parent46194955b223b65b08c300325d6de0620817aa04
Fix Qt applications freezing until mouse/keyboard events occur.

While the qt_GetMessageHook() is executing, GetQueueStatus() reports
that there are timer messages in the queue, but these are never actually
seen by the hook. Calling PeekMessage() will never return these messages
(which is what we really want to know), so don't use GetQueueStatus()
with QS_TIMER.

Task-number: QTBUG-12721
Reviewed-by: denis
Reviewed-by: joao
src/corelib/kernel/qeventdispatcher_win.cpp