summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/qtbinding/functions-cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-11-18 11:42:14 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-11-18 11:42:14 (GMT)
commit7196045b78b33cf135683d5c0b4e164f95231791 (patch)
treecd33d982cbaba4ff7cc5dd4af0bb45eceea61b4e /doc/src/snippets/declarative/qtbinding/functions-cpp
parent346953b985deb5003e801b23063daf3f6dee3824 (diff)
downloadQt-7196045b78b33cf135683d5c0b4e164f95231791.zip
Qt-7196045b78b33cf135683d5c0b4e164f95231791.tar.gz
Qt-7196045b78b33cf135683d5c0b4e164f95231791.tar.bz2
Don't let posted events starve native dialogs (regression)
After commit eb1015c7bbf135af3656110a4d112377c1209db8, it is possible for posted events to starve some of the (most likely internal) messages used by native dialogs. This commit reverts eb1015c7bbf135af3656110a4d112377c1209db8, and instead introduces a Windows timer to keep sendPostedEvents() happening while the event queue is very active. The GetMessage() hook we install will eventually see when the queue is empty and we can use PostMessage() again, which will then stop this timer. This fixes the regression reported in QTBUG-14655, as well as all of the other reported regressions and problems since the initial commit 31f1ff91028dd7f90925d5b3737e4d88b5fb07aa (which ensures that posted events are sent even when Windows is spinning the message loop). Task-number: QTBUG-14655 Reviewed-by: joao
Diffstat (limited to 'doc/src/snippets/declarative/qtbinding/functions-cpp')
0 files changed, 0 insertions, 0 deletions