VirtualBox

Changeset 9892 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 24, 2008 12:39:28 PM (17 years ago)
Author:
vboxsync
Message:

Fe/Qt4: Fixed bug in New VM Wizard: unable to change memory size to any except os' preferred, it is resets on any page-change. (Appears due to void VBoxNewVMWzd::retranslateUi() integration. Chris, please be more careful.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxNewVMWzd.cpp

    r9625 r9892  
    143143void VBoxNewVMWzd::retranslateUi()
    144144{
    145    /* Translate uic generated strings */
     145    /* Translate uic generated strings */
    146146    Ui::VBoxNewVMWzd::retranslateUi (this);
    147147
     
    151151        tr ("The recommended base memory size is <b>%1</b> MB.")
    152152            .arg (type.GetRecommendedRAM()));
    153     mSlRAM->setValue (type.GetRecommendedRAM());
    154153    mTextVDIBest->setText (
    155154        tr ("The recommended size of the boot hard disk is <b>%1</b> MB.")
     
    228227        /* update media combobox */
    229228        VBoxMedia::Status status =
    230             chd.GetAccessible() == TRUE ? VBoxMedia::Ok :
     229            chd.GetAccessible() ? VBoxMedia::Ok :
    231230            chd.isOk() ? VBoxMedia::Inaccessible :
    232231            VBoxMedia::Error;
     
    253252    CGuestOSType type = vboxGlobal().vmGuestOSType (aItem);
    254253    mPmOS->setPixmap (vboxGlobal().vmGuestOSTypeIcon (type.GetId()));
     254    mSlRAM->setValue (type.GetRecommendedRAM());
    255255}
    256256
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