diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2018-12-13 15:54:35 +0100 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2019-01-02 15:29:13 +0000 |
commit | 29ea287716175b57aa7b050b70eb3eb5c9049464 (patch) | |
tree | 404dd5711ba3f20a6b70ecdd690a093a79c8666e /examples/sql | |
parent | 804eea08b43d426112a5c1152f52dd3660e25b71 (diff) |
Windows QPA: Avoid duplication of mouse events
The code being removed was added as a workaround to support the use of
QCursor::setPos() with unit tests. This function was used to move
the Windows mouse cursor, internally calling SetCursorPos(), which
generates only WM_MOUSE* messages, bypassing the pointer messages.
However, the workaround had the unintended effect of generating
duplicated mouse events for normal mouse movement, which caused issues
like the one described by QTBUG-70974. However, it seems the tests are
no longer depending on it, allowing it to be removed.
Fixes: QTBUG-70974
Change-Id: Iaf0d64c73951ab1b660e9bb90e7ee009e53fbd3a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/sql')
0 files changed, 0 insertions, 0 deletions