Changeset 72321 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 24, 2018 12:03:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r72314 r72321 68 68 m_pRamSlider->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); 69 69 m_pRamSlider->setOrientation(Qt::Horizontal); 70 m_pRamSlider->setValue(m_pNameAndSystemEditor->type().GetRecommendedRAM());71 70 } 72 71 m_pRamEditor = new QSpinBox(m_pMemoryCnt); … … 258 257 /* Translate page: */ 259 258 retranslateUi(); 259 260 /* Get recommended 'ram' field value: */ 261 CGuestOSType type = field("type").value<CGuestOSType>(); 262 ULONG recommendedRam = type.GetRecommendedRAM(); 263 m_pRamSlider->setValue(recommendedRam); 264 m_pRamEditor->setValue(recommendedRam); 265 260 266 } 261 267
Note:
See TracChangeset
for help on using the changeset viewer.