VirtualBox

Changeset 78289 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 25, 2019 8:29:56 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8664. Correcting machine RAM size if need be.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r78286 r78289  
    126126    /* The newer and less tested way of configuring vms. */
    127127    m_machine.ApplyDefaults(QString());
     128    /* Check (and correct if need be) RAM size. IMachine::applyDefaults may have overwritten the user setting. */
     129    if (m_machine.GetMemorySize() != field("ram").toInt())
     130        m_machine.SetMemorySize(field("ram").toInt());
    128131#endif
    129132
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