VirtualBox

Changeset 58857 in vbox


Ignore:
Timestamp:
Nov 25, 2015 1:54:05 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Qt5 migration (part 10): Some implicit stuff disabled for QKeySequence.

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  
    6060                QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent);
    6161                /* 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())
    6363                {
    6464                    /* Post request to show popup-menu: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIKeyboardHandlerNormal.cpp

    r52730 r58857  
    7272                QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent);
    7373                /* 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())
    7575                {
    7676                    /* Trying to get menu-bar: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIKeyboardHandlerScale.cpp

    r52730 r58857  
    6767                QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent);
    6868                /* 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())
    7070                {
    7171                    /* Post request to show popup-menu: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIKeyboardHandlerSeamless.cpp

    r52730 r58857  
    6767                QKeyEvent *pKeyEvent = static_cast<QKeyEvent*>(pEvent);
    6868                /* 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())
    7070                {
    7171                    /* Post request to show popup-menu: */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette