diff options
author | Tor Arne Vestbø <torarnv@gmail.com> | 2019-05-09 18:20:16 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-05-11 12:01:40 +0000 |
commit | a9246c7132a2c8864d3ae6cebd260bb9ee711fcb (patch) | |
tree | 11e56ec40e0989274438317562352d099dbd23b0 /examples/opengl | |
parent | 41aa78856e054ee0d770e375f127dbc18317fbeb (diff) |
Reset QWidget's winId when backing window surface is destroyed
We already reset it though e.g. QWidget::destroy, but if the backing
window is destroyed spontaneously or via another API we need to catch
that and send a WinIdChange event so clients who pulled out the original
winId will not think the pointer is still valid
Change-Id: I8556940ee871e81a51f73daeb2064f95bf41371c
Fixes: QTBUG-69289
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/opengl')
0 files changed, 0 insertions, 0 deletions