summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <[email protected]>2022-12-09 10:37:38 +0100
committerTimur Pocheptsov <[email protected]>2022-12-09 16:16:48 +0100
commit10b5b4cbba79416e69c8b4ceea4874a9af26a237 (patch)
tree5747d73db07874404800ac48f6b598915b507487 /src/gui/kernel/qevent.cpp
parent4af5f0b983fac067ad66921a68a2bb6de2c9e677 (diff)
QCocoaFileDialogHelper: protect against dangling pointers
NSSave/Open panel is a shared object, that can outlive Qt's counterpart. While its delegate is a weak property, somehow it can outlive Qt-object, which _owns_ this delegate, as a result an attempt to emit a signal on m_helper results in a crash. QPointer can help with such problem. This is a speculative fix, since we don't have a realible reproducer. Fixes: QTBUG-109287 Change-Id: Iccc4a063a24e33e0a5c0fd07b3c203d0c17317ad Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
0 files changed, 0 insertions, 0 deletions