Changeset 91474 in vbox for trunk/src/VBox
- Timestamp:
- Sep 29, 2021 8:07:36 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.cpp
r91220 r91474 360 360 } 361 361 362 void UINewVMHardwareContainer::setCPUCount(int iCount) 363 { 364 if (m_pVirtualCPUEditor) 365 m_pVirtualCPUEditor->setValue(iCount); 366 } 367 362 368 void UINewVMHardwareContainer::setEFIEnabled(bool fEnabled) 363 369 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.h
r90328 r91474 163 163 * @{ */ 164 164 void setMemorySize(int size); 165 void setCPUCount(int iCount); 165 166 void setEFIEnabled(bool fEnabled); 166 167 /** @} */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMHardwarePage.cpp
r91059 r91474 89 89 m_pHardwareWidgetContainer->setMemorySize(recommendedRam); 90 90 } 91 if (!m_userModifiedParameters.contains("CPUCount")) 92 { 93 ULONG recommendedCPUs = type.GetRecommendedCPUCount(); 94 m_pHardwareWidgetContainer->setCPUCount(recommendedCPUs); 95 } 91 96 if (!m_userModifiedParameters.contains("EFIEnabled")) 92 97 { … … 114 119 AssertReturnVoid(wizardWindow<UIWizardNewVM>()); 115 120 wizardWindow<UIWizardNewVM>()->setCPUCount(iCount); 121 m_userModifiedParameters << "CPUCount"; 116 122 } 117 123
Note:
See TracChangeset
for help on using the changeset viewer.