summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qsizegrip.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-05-06 16:31:14 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-05-08 18:10:52 +0200
commitf579be96f7ad0362220f710a03a390d1c1139c52 (patch)
tree81dced42065c29fa0a652ce498ef9a01c100dbf2 /src/widgets/widgets/qsizegrip.cpp
parent8481a9fc974a1f1dd44a9f82decb18fe2290689f (diff)
QMenuPrivate::hideMenu - avoid deleting 'q' too early
This function among other things enters a nested event loop twice. With enough luck processing events may end with posting deferred delete event for 'q' and then ... executing this event leaving the whole call tree with a dangling pointer. This is not very convenient, and we filter out such events to re-post them a bit later. Pick-to: 5.15 Fixes: QTBUG-82349 Change-Id: Ic620273b529b89f2bd57e25df1f91c2754940670 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/widgets/qsizegrip.cpp')
0 files changed, 0 insertions, 0 deletions