summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.cpp
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2020-06-02 18:03:36 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2020-06-03 19:36:34 +0300
commit33e6e5fac3c86805b1b4e744462645cac8c8a044 (patch)
treea30cf4e9757b9c32b15bc497537da2a09f4ea88b /src/corelib/thread/qthreadpool.cpp
parentb99ade85b0b11ce63be50b3a6c2eff8bcc04349d (diff)
QEventDispatcherWin32: retrieve PM_REMOVE value as a bit flag
Windows unexpectedly passes PM_NOYIELD flag in wParam parameter to the hook procedure, if ::PeekMessage(..., PM_REMOVE | PM_NOYIELD) is called from the event loop. So, to ignore undocumented flag, we should interpret wParam as a bit field. Thanks to Robin Lobel for research. Pick-to: 5.15 Fixes: QTBUG-84562 Change-Id: Ib16d7d747aebc9a3628e4ee67478c4d3edeb96f1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
0 files changed, 0 insertions, 0 deletions