summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreply.cpp
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2020-08-12 07:48:32 -0300
committerAndre de la Rocha <andre.rocha@qt.io>2020-08-13 14:47:00 -0300
commitc808bd0b60543127686231ce9ebbb2b6331387b2 (patch)
tree85290ab08e5d986500db2b27266db429e2c54c84 /src/network/access/qnetworkreply.cpp
parent48dbcefe57860f70e9bc4859983d2596634ea8f3 (diff)
Windows QPA: Fix omitted Drop event
In some rare cases, when a mouse button was released while the mouse was static, a drag and drop operation would not be completed until the mouse was moved. Probably due to a Windows bug, the mouse button state supplied through the arguments of the IDropSource callbacks, called from the internal DoDragDrop() loop, would not reflect the actual mouse button state in this case. This change makes the callback implementation use the actual mouse button state provided by GetAsyncKeyState(). Fixes: QTBUG-85300 Pick-to: 5.15 Change-Id: I3405bdf7076ddc46415cd274a502434bdc0d2f3f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions