diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-09-12 12:58:45 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-09-26 12:50:01 +0000 |
commit | 44c304cefb6e9f53c16eec278999ac19f2572a03 (patch) | |
tree | 88104e6eeb26001de0ee375bbc1a806698adf957 /src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm | |
parent | 542e11ab2bd4a607fda8f559cc7efc32371b4e0e (diff) |
Reset QWindowPrivate::platformWindow during destruction before deleting it
Otherwise the deletion of the platform window may result in platform events
that then conclude the QWindow has a valid platform window and calls into
it, when it's been half-way destroyed.
Change-Id: If9eaad1b4e6aa414ba0f96475756a2146e0c01d5
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm')
0 files changed, 0 insertions, 0 deletions