VirtualBox

Changeset 50332 in vbox


Ignore:
Timestamp:
Feb 5, 2014 3:23:20 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Fix to r92017: Was misguided by own logic.

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

Legend:

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

    r50310 r50332  
    198198    {
    199199        QString strDefaultID = "WindowsXP";
    200         if (m_fSupportsHWVirtEx && m_fSupportsLongMode)
     200        if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode)
    201201            strDefaultID += "_64";
    202202        int iIndexWinXP = m_pTypeCombo->findData(strDefaultID, TypeID);
     
    208208    {
    209209        QString strDefaultID = "Ubuntu";
    210         if (m_fSupportsHWVirtEx && m_fSupportsLongMode)
     210        if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode)
    211211            strDefaultID += "_64";
    212212        int iIndexUbuntu = m_pTypeCombo->findData(strDefaultID, TypeID);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp

    r50310 r50332  
    168168{
    169169    /* Do not forget about achitecture bits: */
    170     strNewName += m_fSupportsHWVirtEx && m_fSupportsLongMode ? "64" : "32";
     170    strNewName += ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode ? "64" : "32";
    171171
    172172    /* Search for a matching OS type based on the string the user typed already. */
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