VirtualBox

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


Ignore:
Timestamp:
Nov 23, 2015 3:00:22 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8115: Mac OS X: VM settings: System page: Prevent user from toggling 'VT-x/AMD-V' checkbox-button as it is always used/enabled on Mac OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp

    r56132 r58824  
    505505    m_pComboParavirtProvider->setEnabled(isMachineOffline());
    506506    m_pLabelVirtualization->setEnabled(isMachineOffline());
     507    /* Prevent user from toggling 'VT-x/AMD-V' checkbox-button as it is always used/enabled on Mac OS X: */
     508#ifdef Q_WS_MAC
     509    m_pCheckBoxVirtualization->setEnabled(false);
     510#else /* !Q_WS_MAC */
    507511    m_pCheckBoxVirtualization->setEnabled(isMachineOffline());
     512#endif /* !Q_WS_MAC */
    508513    m_pCheckBoxNestedPaging->setEnabled(isMachineOffline() && m_pCheckBoxVirtualization->isChecked());
    509514}
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