VirtualBox

Changeset 16101 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 20, 2009 9:14:24 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: 3392: Disabled nested paging checkbox if VT-x/AMD-V is disabled

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMSettingsGeneral.h

    r14339 r16101  
    6060    void textChangedVRAM (const QString &aText);
    6161
     62    void stateChangedVirt (int aState);
     63
    6264    void moveBootItemUp();
    6365    void moveBootItemDown();
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp

    r16087 r16101  
    9191             this, SLOT (onCurrentBootItemChanged (QTreeWidgetItem*,
    9292                                                   QTreeWidgetItem*)));
     93    connect (mCbVirt, SIGNAL (stateChanged (int)),
     94             this, SLOT (stateChangedVirt (int)));
    9395
    9496    /* Setup iconsets */
     
    208210
    209211    /* Nested Paging */
    210     mCbNestedPaging->setEnabled (fVTxAMDVSupported);
     212    mCbNestedPaging->setEnabled (   fVTxAMDVSupported
     213                                 && aMachine.GetHWVirtExEnabled() == KTSBool_True);
    211214    mCbNestedPaging->setChecked (aMachine.GetHWVirtExNestedPagingEnabled());
    212215
     
    450453{
    451454    mSlVideo->setValue (aText.toInt());
     455}
     456
     457void VBoxVMSettingsGeneral::stateChangedVirt (int aState)
     458{
     459    mCbNestedPaging->setEnabled (mCbVirt->checkState());
    452460}
    453461
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