VirtualBox

Changeset 75179 in vbox for trunk


Ignore:
Timestamp:
Oct 30, 2018 2:34:52 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9241: UIActionPoolSelector: Free some shortcuts busy with destructive or unimportant actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolSelector.cpp

    r75161 r75179  
    154154    virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    155155    {
    156         return QKeySequence("Ctrl+F");
     156        return QKeySequence("Ctrl+P");
    157157    }
    158158
     
    423423    }
    424424
    425     /** Returns default shortcut. */
    426     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    427     {
    428         return QKeySequence("Ctrl+M");
    429     }
    430 
    431425    /** Handles translation event. */
    432426    virtual void retranslateUi() /* override */
     
    455449    {
    456450        return QString("AddVMGroup");
    457     }
    458 
    459     /** Returns default shortcut. */
    460     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    461     {
    462         return QKeySequence("Ctrl+U");
    463451    }
    464452
     
    613601    }
    614602
    615     /** Returns default shortcut. */
    616     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    617     {
    618         return QKeySequence("Ctrl+U");
    619     }
    620 
    621603    /** Handles translation event. */
    622604    virtual void retranslateUi() /* override */
     
    719701    }
    720702
    721 #if 0 /* conflict with RenameVMGroup action to be resolved first */
    722     /** Returns default shortcut. */
    723     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    724     {
    725         return QKeySequence("Ctrl+M");
    726     }
    727 #endif /* conflict with RenameVMGroup action to be resolved first */
    728 
    729703    /** Handles translation event. */
    730704    virtual void retranslateUi() /* override */
     
    755729    {
    756730        return QString("RemoveVM");
    757     }
    758 
    759     /** Returns default shortcut. */
    760     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    761     {
    762         return QKeySequence("Ctrl+R");
    763731    }
    764732
     
    957925    }
    958926
    959     /** Returns default shortcut. */
    960     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    961     {
    962         return QKeySequence("Ctrl+P");
    963     }
    964 
    965927    /** Handles translation event. */
    966928    virtual void retranslateUi() /* override */
     
    989951    {
    990952        return QString("ResetVM");
    991     }
    992 
    993     /** Returns default shortcut. */
    994     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    995     {
    996         return QKeySequence("Ctrl+T");
    997953    }
    998954
     
    1025981    {
    1026982        return QString("DiscardVM");
    1027     }
    1028 
    1029     /** Returns default shortcut. */
    1030     virtual QKeySequence defaultShortcut(UIActionPoolType) const /* override */
    1031     {
    1032         return QKeySequence("Ctrl+J");
    1033983    }
    1034984
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