VirtualBox

Changeset 99522 in vbox


Ignore:
Timestamp:
Apr 24, 2023 2:41:47 PM (19 months ago)
Author:
vboxsync
Message:

bugref:10278. Reverted back r154628 partially.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp

    r98103 r99522  
    354354    , m_enmVSDType(enmVSDType)
    355355    , 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)
    358358    , m_strConfigDefaultValue(strConfigValue)
    359     , m_strExtraConfigValue(enmVSDType == KVirtualSystemDescriptionType_Memory ? UITranslator::byteStringToMegaByteString(strExtraConfigValue) : strExtraConfigValue)
     359    , m_strExtraConfigValue(strExtraConfigValue)
    360360    , m_checkState(Qt::Checked)
    361361    , m_fModified(false)
     
    13031303{
    13041304    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;
    13071307
    13081308    UIApplianceModelItem::putBack(finalStates, finalValues, finalExtraValues);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette