Changeset 57340 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 14, 2015 7:56:57 AM (9 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
r57293 r57340 205 205 if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode) 206 206 strDefaultID += "_64"; 207 int iIndexWin XP= m_pTypeCombo->findData(strDefaultID, TypeID);208 if (iIndexWin XP!= -1)209 m_pTypeCombo->setCurrentIndex(iIndexWin XP);207 int iIndexWin7 = m_pTypeCombo->findData(strDefaultID, TypeID); 208 if (iIndexWin7 != -1) 209 m_pTypeCombo->setCurrentIndex(iIndexWin7); 210 210 } 211 211 /* Or select Ubuntu item for Linux family as default: */ … … 226 226 227 227 /* Unlock the signals of m_pTypeCombo: */ 228 m_pTypeCombo->blockSignals 228 m_pTypeCombo->blockSignals(false); 229 229 } 230 230 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
r57160 r57340 58 58 { QRegExp( "Wi.*Me", Qt::CaseInsensitive), "WindowsMe" }, 59 59 { QRegExp( "(Wi.*NT)|(NT4)", Qt::CaseInsensitive), "WindowsNT4" }, 60 { QRegExp("((Wi.*XP)|(\\bXP\\b)).*64", Qt::CaseInsensitive), "WindowsXP_64" }, 61 { QRegExp("((Wi.*XP)|(\\bXP\\b)).*32", Qt::CaseInsensitive), "WindowsXP" }, 60 /* Note: Do not automatically set WindowsXP_64 on 64-bit hosts, as Windows XP 64-bit 61 * is extremely rare -- most users never heard of it even. So always default to 32-bit. */ 62 { QRegExp("((Wi.*XP)|(XP)).*", Qt::CaseInsensitive), "WindowsXP" }, 62 63 { QRegExp("((Wi.*2003)|(W2K3)|(Win2K3)).*64", Qt::CaseInsensitive), "Windows2003_64" }, 63 64 { QRegExp("((Wi.*2003)|(W2K3)|(Win2K3)).*32", Qt::CaseInsensitive), "Windows2003" }, … … 77 78 { QRegExp( "(Wi.*10.*32)|(W10.*32)", Qt::CaseInsensitive), "Windows10" }, 78 79 { QRegExp( "Wi.*3.*1", Qt::CaseInsensitive), "Windows31" }, 79 { QRegExp( "Wi.*64", Qt::CaseInsensitive), "WindowsXP_64" }, 80 { QRegExp( "Wi.*32", Qt::CaseInsensitive), "WindowsXP" }, 80 /* Set Windows 7 as default for "Windows". */ 81 { QRegExp( "Wi.*64", Qt::CaseInsensitive), "Windows7_64" }, 82 { QRegExp( "Wi.*32", Qt::CaseInsensitive), "Windows7" }, 81 83 82 84 /* Solaris: */
Note:
See TracChangeset
for help on using the changeset viewer.