VirtualBox

Changeset 35522 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 13, 2011 1:06:44 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: It is not necessary to load the new language here. First it generates a
warning from Qt, because it is not done in the main thread and second the
language loading is triggered by the SetExtraData call in any case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.cpp

    r33961 r35522  
    233233    /* Save from cache: */
    234234    if (m_fIsLanguageChanged)
    235     {
    236235        m_settings.setLanguageId(m_cache.m_strLanguageId);
    237         VBoxGlobal::loadLanguage(m_cache.m_strLanguageId);
    238     }
    239236
    240237    /* Upload properties & settings to data: */
     
    344341}
    345342
    346 /* Slot to handle currentl language change fact: */
     343/* Slot to handle currently language change fact: */
    347344void UIGlobalSettingsLanguage::sltCurrentLanguageChanged(QTreeWidgetItem *pItem)
    348345{
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