Changeset 50332 in vbox
- Timestamp:
- Feb 5, 2014 3:23:20 PM (11 years ago)
- 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 198 198 { 199 199 QString strDefaultID = "WindowsXP"; 200 if ( m_fSupportsHWVirtEx && m_fSupportsLongMode)200 if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode) 201 201 strDefaultID += "_64"; 202 202 int iIndexWinXP = m_pTypeCombo->findData(strDefaultID, TypeID); … … 208 208 { 209 209 QString strDefaultID = "Ubuntu"; 210 if ( m_fSupportsHWVirtEx && m_fSupportsLongMode)210 if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode) 211 211 strDefaultID += "_64"; 212 212 int iIndexUbuntu = m_pTypeCombo->findData(strDefaultID, TypeID); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
r50310 r50332 168 168 { 169 169 /* 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"; 171 171 172 172 /* Search for a matching OS type based on the string the user typed already. */
Note:
See TracChangeset
for help on using the changeset viewer.