VirtualBox

Changeset 51379 in vbox for trunk


Ignore:
Timestamp:
May 23, 2014 5:52:35 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: 7386: Translate action shortcut descriptions on language-change even for action-pools which are not currently exists.

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

Legend:

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

    r51375 r51379  
    12531253    foreach (const int iActionPoolKey, m_pool.keys())
    12541254        m_pool[iActionPoolKey]->retranslateUi();
    1255     /* Re-apply shortcuts: */
     1255    /* Re-apply Runtime UI shortcuts: */
    12561256    sltApplyShortcuts();
     1257    /* Temporary create Selector UI pool to do the same: */
     1258    UIActionPool::createTemporary(UIActionPoolType_Selector);
    12571259}
    12581260
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.cpp

    r51375 r51379  
    986986    foreach (const int iActionPoolKey, m_pool.keys())
    987987        m_pool[iActionPoolKey]->retranslateUi();
    988     /* Re-apply shortcuts: */
     988    /* Re-apply Selector UI shortcuts: */
    989989    sltApplyShortcuts();
     990    /* Temporary create Runtime UI pool to do the same: */
     991    UIActionPool::createTemporary(UIActionPoolType_Runtime);
    990992}
    991993
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