diff options
author | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2013-04-24 13:55:00 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-25 17:56:26 +0200 |
commit | 370e89f06465a4d61c7b72291115cd7b5a0d576a (patch) | |
tree | 32fbbbadf068938960c7678799da261bc00f2f61 /src/plugins/platforms/kms | |
parent | 7a1cdac05264204d01f729bb2e1201e08bb9fe3e (diff) |
Cocoa: Reflect menu hierarchy in QCocoaMenu* objects
QCocoaMenu is child of either a QCocoaMenuBar, a QCocoaMenuItem as a
submenu, or nothing as a standalone menu. QCocoaMenuItem is child of
its containing QCocoaMenu.
The parent is set during insertion and cleared during removal.
QMenu needs to be updated to avoid double deletion and leaking its
own platform menu.
Change-Id: Iadf60d8062d7466fa616f84f3761fe322fc9aa2e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/plugins/platforms/kms')
0 files changed, 0 insertions, 0 deletions