Changeset 58857 in vbox
- Timestamp:
- Nov 25, 2015 1:54:05 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp
r52730 r58857 60 60 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 61 61 /* Process Host+Home for menu popup: */ 62 if (isHostKeyPressed() && pKeyEvent->key() == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence())62 if (isHostKeyPressed() && QKeySequence(pKeyEvent->key()) == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence()) 63 63 { 64 64 /* Post request to show popup-menu: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIKeyboardHandlerNormal.cpp
r52730 r58857 72 72 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 73 73 /* Process Host+Home as menu-bar activator: */ 74 if (isHostKeyPressed() && pKeyEvent->key() == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence())74 if (isHostKeyPressed() && QKeySequence(pKeyEvent->key()) == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence()) 75 75 { 76 76 /* Trying to get menu-bar: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIKeyboardHandlerScale.cpp
r52730 r58857 67 67 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 68 68 /* Process Host+Home for menu popup: */ 69 if (isHostKeyPressed() && pKeyEvent->key() == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence())69 if (isHostKeyPressed() && QKeySequence(pKeyEvent->key()) == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence()) 70 70 { 71 71 /* Post request to show popup-menu: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIKeyboardHandlerSeamless.cpp
r52730 r58857 67 67 QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent); 68 68 /* Process Host+Home for menu popup: */ 69 if (isHostKeyPressed() && pKeyEvent->key() == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence())69 if (isHostKeyPressed() && QKeySequence(pKeyEvent->key()) == gShortcutPool->shortcut(GUI_Input_MachineShortcuts, QString("PopupMenu")).sequence()) 70 70 { 71 71 /* Post request to show popup-menu: */
Note:
See TracChangeset
for help on using the changeset viewer.