Mercurial > hg > svapp
comparison 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 |
comparison
equal
deleted
inserted
replaced
393:ff43500426da | 394:71b21d6e66be |
---|---|
427 | 427 |
428 // Call this after setting up the menu bar, to fix up single-key | 428 // Call this after setting up the menu bar, to fix up single-key |
429 // shortcuts on OS/X | 429 // shortcuts on OS/X |
430 virtual void finaliseMenus(); | 430 virtual void finaliseMenus(); |
431 virtual void finaliseMenu(QMenu *); | 431 virtual void finaliseMenu(QMenu *); |
432 | |
433 // Only used on OS/X to work around a Qt/Cocoa bug, see finaliseMenus | |
432 QSignalMapper *m_menuShortcutMapper; | 434 QSignalMapper *m_menuShortcutMapper; |
433 QList<QShortcut *> m_appShortcuts; | 435 QList<QShortcut *> m_appShortcuts; |
434 | 436 |
435 virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; } | 437 virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; } |
436 | 438 |