summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-08-13 10:46:00 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-08-18 07:17:45 +0200
commit2a857ee28315c5bacfe2ecaf402ca9005b35c20e (patch)
treebb69e553a578eb25c358e7efad46d391ec3bd2ab /tests/auto/widgets
parent0c8dcb4b1171ec1ff228f6d9d4b2861a73294e5d (diff)
Accept the QWheelEvent before each propagation step
Input events in Qt are accepted when constructed, and ignored by the default event handler (so overriding the event handler is enough to accept an event). Since we use the same QWheelEvent instance for each propagation step, we need to reset the event to be accepted before each delivery so that an earlier child ignoring the event doesn't result in the event being ignored without explicit acceptance. Amends the refactoring of wheel event delivery in 92df790f46b3a8b17aec2f385d6472fd3f8647f6. Task-number: QTBUG-95552 Task-number: QTBUG-79102 Task-number: QTBUG-67032 Change-Id: Ib3f99792518364cf6e635cf4c6fda088051a7848 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit 1653ae13db69a2e703a1b44d3e67b55e927a5eca) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions