summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qjsonparser.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-09-05 23:47:52 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-09-06 14:23:17 +0000
commite9e8d67e31b8b6a8348b5dae3225be2dbd87ffd2 (patch)
tree366749028cb12f0d06464d03411f92c5f816075a /src/corelib/serialization/qjsonparser.cpp
parent197fcdd7ee56a53bf7035c62128b29001f3a4ea9 (diff)
Fix segfault when closing widget and destroying window in QDialog::done
On OpenSUSE we seem to get an Enter event after or while the QWindow is closed, and that appears to reset the currentMouseWindow after we cleared it in QWindowPrivate::destroy. Apply a workaround similar to the focus_window to make sure that currentMouseWindow and currentMousePressWindow don't point to destroyed objects. Pick-to: 6.2 Change-Id: I61afdaa7d8d1d437058624012319460be2f2567f Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/serialization/qjsonparser.cpp')
0 files changed, 0 insertions, 0 deletions