VirtualBox

Ignore:
Timestamp:
Sep 16, 2015 3:50:24 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Action-pool: On shortcut changes do not forget to propagate initial shortcut values from _both_ action-pools to shortcut-pool.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp

    r57347 r57787  
    21572157{
    21582158    /* Prepare connections: */
     2159    connect(gShortcutPool, SIGNAL(sigSelectorShortcutsReloaded()), this, SLOT(sltApplyShortcuts()));
    21592160    connect(gShortcutPool, SIGNAL(sigMachineShortcutsReloaded()), this, SLOT(sltApplyShortcuts()));
    21602161    connect(gEDataManager, SIGNAL(sigMenuBarConfigurationChange(const QString&)),
     
    29852986#endif /* VBOX_WITH_DEBUGGER_GUI */
    29862987
    2987 void UIActionPoolRuntime::retranslateUi()
     2988void UIActionPoolRuntime::updateShortcuts()
    29882989{
    29892990    /* Call to base-class: */
    2990     UIActionPool::retranslateUi();
     2991    UIActionPool::updateShortcuts();
    29912992    /* Create temporary Selector UI pool to do the same: */
    29922993    if (!m_fTemporary)
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.h

    r57067 r57787  
    268268#endif /* VBOX_WITH_DEBUGGER_GUI */
    269269
    270     /** Translation handler. */
    271     virtual void retranslateUi();
     270    /** Update shortcuts. */
     271    virtual void updateShortcuts();
    272272
    273273    /** Returns extra-data ID to save keyboard shortcuts under. */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.cpp

    r56241 r57787  
    10691069    /* Prepare connections: */
    10701070    connect(gShortcutPool, SIGNAL(sigSelectorShortcutsReloaded()), this, SLOT(sltApplyShortcuts()));
     1071    connect(gShortcutPool, SIGNAL(sigMachineShortcutsReloaded()), this, SLOT(sltApplyShortcuts()));
    10711072
    10721073    /* Call to base-class: */
     
    10801081}
    10811082
    1082 void UIActionPoolSelector::retranslateUi()
     1083void UIActionPoolSelector::updateShortcuts()
    10831084{
    10841085    /* Call to base-class: */
    1085     UIActionPool::retranslateUi();
     1086    UIActionPool::updateShortcuts();
    10861087    /* Create temporary Runtime UI pool to do the same: */
    10871088    if (!m_fTemporary)
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.h

    r55507 r57787  
    114114    virtual void updateMenus();
    115115
    116     /** Translation handler. */
    117     virtual void retranslateUi();
     116    /** Update shortcuts. */
     117    virtual void updateShortcuts();
    118118
    119119    /** Returns extra-data ID to save keyboard shortcuts under. */
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