Changeset 44559 in vbox
- Timestamp:
- Feb 6, 2013 11:27:20 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIShortcutPool.cpp
r44448 r44559 108 108 foreach (UIAction *pAction, pActionPool->actions()) 109 109 { 110 /* Skip menu actions: */ 111 if (pAction->type() == UIActionType_Menu) 112 continue; 113 110 114 /* Compose full shortcut key: */ 111 115 QString strShortcutKey = m_strShortcutKeyTemplate.arg(pActionPool->shortcutsExtraDataID(), … … 199 203 /* Default shortcut for the Runtime Popup Menu invokation: */ 200 204 m_shortcuts.insert(strRuntimeShortcutKeyTemplate.arg("PopupMenu"), 201 UIShortcut(QApplication::translate("UIActonPool", " Invoke popup menu"), QString("Home")));205 UIShortcut(QApplication::translate("UIActonPool", "Popup Menu"), QString("Home"))); 202 206 } 203 207 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIShortcutPool.h
r44448 r44559 79 79 UIShortcut& shortcut(UIActionPool *pActionPool, UIAction *pAction); 80 80 UIShortcut& shortcut(const QString &strPoolID, const QString &strActionID); 81 const QMap<QString, UIShortcut>& shortcuts() const { return m_shortcuts; } 81 82 82 83 /* API: Action-pool stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.