diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-08-05 13:44:34 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-08-05 17:42:05 +0000 |
commit | 6a5cadb9557ebac00b8ddacf623dc38baa716680 (patch) | |
tree | 6be1a08b062fd3fb47f5b619cd546b0fcad43461 /tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp | |
parent | d336cfba8ad740dc812b8987bc04fb9f6da80666 (diff) |
macOS: Check m_platformWindow before processing key event after shortcut
Processing shortcut events may result in the window being deleted, so
we need to check if m_platformWindow is still valid before continuing
with the key press event.
Pick-to: 6.4 6.3 6.2 5.15
Fixes: QTBUG-105160
Change-Id: I9cd362873b19c078a4fced3ac3c815d70bfc7fbe
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp')
0 files changed, 0 insertions, 0 deletions