summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qplaintextedit.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-09-25 19:53:49 +0200
committerGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-09-29 13:38:57 +0200
commit996054f5e65bc676aaea0743c2eacec51918e4aa (patch)
tree413274a193878db1f0fc6171232bb93b4d8858f1 /src/widgets/widgets/qplaintextedit.cpp
parent9dcc3a57282f60e2394a2a54fc0a735a4240c5c8 (diff)
QCocoaMenu: Keep a reference to the containing menu item
This allows the menu to tell its containing item the menu got deleted. This removes the need to reset the COCOA_MENU_ANCESTOR property value, which would crash since QCocoaMenuItem::m_menu would be a dangling pointer. Task-number: QTBUG-41587 Change-Id: Ia3408ef85cf823bfddbc2c41d6534e43bf14ed29 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/widgets/widgets/qplaintextedit.cpp')
0 files changed, 0 insertions, 0 deletions