Changeset 99522 in vbox
- Timestamp:
- Apr 24, 2023 2:41:47 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r98103 r99522 354 354 , m_enmVSDType(enmVSDType) 355 355 , m_strRef(strRef) 356 , m_strOrigValue( enmVSDType == KVirtualSystemDescriptionType_Memory ? UITranslator::byteStringToMegaByteString(strOrigValue) :strOrigValue)357 , m_strConfigValue( enmVSDType == KVirtualSystemDescriptionType_Memory ? UITranslator::byteStringToMegaByteString(strConfigValue) :strConfigValue)356 , m_strOrigValue(strOrigValue) 357 , m_strConfigValue(strConfigValue) 358 358 , m_strConfigDefaultValue(strConfigValue) 359 , m_strExtraConfigValue( enmVSDType == KVirtualSystemDescriptionType_Memory ? UITranslator::byteStringToMegaByteString(strExtraConfigValue) :strExtraConfigValue)359 , m_strExtraConfigValue(strExtraConfigValue) 360 360 , m_checkState(Qt::Checked) 361 361 , m_fModified(false) … … 1303 1303 { 1304 1304 finalStates[m_iNumber] = m_checkState == Qt::Checked; 1305 finalValues[m_iNumber] = m_ enmVSDType == KVirtualSystemDescriptionType_Memory ? UITranslator::megabyteStringToByteString(m_strConfigValue) : m_strConfigValue;1306 finalExtraValues[m_iNumber] = m_ enmVSDType == KVirtualSystemDescriptionType_Memory ? UITranslator::megabyteStringToByteString(m_strExtraConfigValue) : m_strExtraConfigValue;1305 finalValues[m_iNumber] = m_strConfigValue; 1306 finalExtraValues[m_iNumber] = m_strExtraConfigValue; 1307 1307 1308 1308 UIApplianceModelItem::putBack(finalStates, finalValues, finalExtraValues);
Note:
See TracChangeset
for help on using the changeset viewer.