diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-03-31 16:00:38 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-31 22:10:52 +0000 |
commit | c92ed2e94c56397426d51c5e6f039099947c1044 (patch) | |
tree | 338cbc7e30029831777058417fc17edb1534a2b7 /tests/manual | |
parent | 04a94d342c08d9945735527f2d78b29dc395fd7d (diff) |
QQuickItem: Do not dereference nullptr
During engine shut-down, the delivery agent might already have been
deleted, but we still get a call to setEffectiveVisibleRecur.
Thus we need to check that the agent is non-null.
Change-Id: Ie2d5923d686789c0758913799ff0702a85a55402
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit f8fc2d11a9cb2c55f4efc4a089663967ff78cc0b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions