VirtualBox

Changeset 101712 in vbox


Ignore:
Timestamp:
Nov 2, 2023 9:46:23 AM (16 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159806
Message:

FE/Qt: bugref:10543: UINameAndSystemEditor cleanup: Missing part of family handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp

    r101711 r101712  
    283283        m_pSelectorPath->setToolTip(tr("Selects the folder hosting virtual machine."));
    284284    if (m_pComboFamily)
    285         m_pComboFamily->setToolTip(tr("Selects the operating system family that "
     285        m_pComboFamily->setToolTip(tr("Selects the operating system type that "
    286286                                      "you plan to install into this virtual machine."));
    287287    if (m_pComboType)
    288         m_pComboType->setToolTip(tr("Selects the operating system type that "
     288        m_pComboType->setToolTip(tr("Selects the operating system version that "
    289289                                    "you plan to install into this virtual machine "
    290290                                    "(called a guest operating system)."));
     
    613613    const UIGuestOSTypeManager::UIGuestOSTypeFamilyInfo &families = uiCommon().guestOSTypeManager().getFamilies();
    614614
     615    /* Block signals initially and clear the combo: */
     616    m_pComboFamily->blockSignals(true);
     617    m_pComboFamily->clear();
     618
    615619    /* Populate family combo: */
    616620    for (int i = 0; i < families.size(); ++i)
     
    619623        m_pComboFamily->setItemData(i, families[i].first);
    620624    }
     625
     626    /* Unblock signals finally: */
     627    m_pComboFamily->blockSignals(false);
    621628
    622629    /* Select 1st OS family: */
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