summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qaction_p.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-08-10 10:30:56 +0700
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-08-15 01:21:44 +0000
commit306071e50eac8290d234caab90985ddf705a5fc6 (patch)
tree1a7cc7228fcf86414d08bcf170c85d13b8dc9619 /src/widgets/kernel/qaction_p.h
parentf27d1ccbb24ec2fd4098f2976503478831006cc8 (diff)
QCocoaMenu: Sync menubar menu when adding items
Empty menus on a menubar are hidden by default. If the menu gets added to the menubar before it contains any item, we need to get the menubar to sync the menu, which will update its native menu item hidden property. Menurama manual test's 'Add Many Items' button should now work. Change-Id: I8ce1df21031c171789318fdf28ae495819458d71 Task-number: QTBUG-62260 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel/qaction_p.h')
0 files changed, 0 insertions, 0 deletions