summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/i18n
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-09-30 22:37:09 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-09-30 23:17:57 +0200
commit8f74f7d25b62979d2d8a458cdeb282184b64d8d9 (patch)
treeab303c383b8b2aabf1890c53804d5fc643282437 /examples/widgets/tools/i18n
parent871d19a5b96fa5a5be4ac50e3121e0704ff08374 (diff)
tst_qwindow: verify isBeginEvent(), isUpdateEvent() and isEndEvent()HEADdev
It also demonstrated that the tests were out of sync with reality: since a97759a336c597327cb82eebc9f45c793aec32c9 QMouseEvent::button() and QWindowSystemInterfacePrivate::MouseEvent::button should be the button that changes state of course; but when a button is pressed, we are reacting to it after the fact, so QMouseEvent::buttons() and QWindowSystemInterfacePrivate::MouseEvent::buttons should include the new button that was just pressed. Likewise when a button was released, we send the event with buttons _omitting_ the button that was just released. Amends 147a8bc4c86dd7c818acd2614ee67cd7098cfa5e and 6d6ed64d6ca27c1b5fec305e6ed9b923b5bb1037 Change-Id: I670289019fcfa7de685ca38799804772dc0f1c8f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/tools/i18n')
0 files changed, 0 insertions, 0 deletions