Mercurial > hg > svapp
diff framework/MainWindowBase.h @ 394:71b21d6e66be
Try descending through menu hierarchy from the top rather than just looking for any objects that are children of menus
author | Chris Cannam |
---|---|
date | Wed, 13 Aug 2014 15:05:19 +0100 |
parents | 9e31759254fe |
children | 662aef012679 618d5816b04d |
line wrap: on
line diff
--- a/framework/MainWindowBase.h Wed Aug 13 11:49:45 2014 +0100 +++ b/framework/MainWindowBase.h Wed Aug 13 15:05:19 2014 +0100 @@ -429,6 +429,8 @@ // shortcuts on OS/X virtual void finaliseMenus(); virtual void finaliseMenu(QMenu *); + + // Only used on OS/X to work around a Qt/Cocoa bug, see finaliseMenus QSignalMapper *m_menuShortcutMapper; QList<QShortcut *> m_appShortcuts;