diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-15 22:33:36 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-18 13:51:42 +0000 |
commit | e1fcc604dcc06dfde387dae415e17fd09265ef4f (patch) | |
tree | e5e53870e87151bcd1df626187680bbdbda8a736 /examples/quick/particles/imageparticle/CMakeLists.txt | |
parent | 7011fa26f75d88c010843166e649d4ac350f0d04 (diff) |
Consider all popups in the stack to test whether an event should be blocked
Since modal and modeless popups can be arbitrarily nested, it's not
enough to just let the first popup in the stack handle an input event to
see if it should be blocked. The first popup might be modeless and have
a modal parent that then should block events to items further down.
So, return true for the first popup that handled the event, otherwise
continue down the stack.
Fixes: QTBUG-86854
Change-Id: I04fe7833b86353f40cb047cd1330751233dc98c3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 85be957e9f936ea2d0fd9d7ceaf5da8eb1bcac49)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/particles/imageparticle/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions