VirtualBox

Changeset 78290 in vbox for trunk/src


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

FE/Qt: bugref:8664. A small fix.

File:
1 edited

Legend:

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

    r78289 r78290  
    127127    m_machine.ApplyDefaults(QString());
    128128    /* 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());
     129    if (m_machine.GetMemorySize() != field("ram").toUInt())
     130        m_machine.SetMemorySize(field("ram").toUInt());
    131131#endif
    132132
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