- Timestamp:
- Oct 8, 2021 2:13:58 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 147367
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
r91445 r91642 363 363 m_pComboType->setCurrentIndex(iTypeIndex); 364 364 } 365 /* Or select Windows 7item for Windows family as default: */365 /* Or select Windows 10 item for Windows family as default: */ 366 366 else if (m_strFamilyId == "Windows") 367 367 { 368 QString strDefaultID = "Windows 7";368 QString strDefaultID = "Windows10"; 369 369 if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode) 370 370 strDefaultID += "_64"; 371 const int iIndexWin 7= m_pComboType->findData(strDefaultID, TypeID);372 if (iIndexWin 7!= -1)373 m_pComboType->setCurrentIndex(iIndexWin 7);371 const int iIndexWin10 = m_pComboType->findData(strDefaultID, TypeID); 372 if (iIndexWin10 != -1) 373 m_pComboType->setCurrentIndex(iIndexWin10); 374 374 } 375 375 /* Or select Oracle Linux item for Linux family as default: */
Note:
See TracChangeset
for help on using the changeset viewer.