- Timestamp:
- Jun 7, 2018 8:28:16 AM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r71027 r72467 582 582 583 583 /* Polish 'Acceleration' availability: */ 584 m_pTabWidgetSystem->setTabEnabled(2, systemData.m_fSupportedHwVirtEx);584 setAccelerationCheckBoxesEnabled(systemData.m_fSupportedHwVirtEx && isMachineOffline()); 585 585 m_pLabelParavirtProvider->setEnabled(isMachineOffline()); 586 586 m_pComboParavirtProvider->setEnabled(isMachineOffline()); 587 587 m_pLabelVirtualization->setEnabled(isMachineOffline()); 588 m_pCheckBoxVirtualization->setEnabled(isMachineOffline());589 m_pCheckBoxNestedPaging->setEnabled(isMachineOffline() && m_pCheckBoxVirtualization->isChecked());590 588 } 591 589 … … 1225 1223 } 1226 1224 1225 void UIMachineSettingsSystem::setAccelerationCheckBoxesEnabled(bool fEnabled) 1226 { 1227 m_pCheckBoxVirtualization->setEnabled(fEnabled); 1228 m_pCheckBoxNestedPaging->setEnabled(fEnabled && m_pCheckBoxVirtualization->isChecked()); 1229 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.h
r72109 r72467 142 142 bool saveAccelerationData(); 143 143 144 /** Disable/enable "hardware virtualization" and "nested paging" check boxes 145 * (but not the "Paravirtualization Interface" combobox) */ 146 void setAccelerationCheckBoxesEnabled(bool fEnabled); 147 144 148 /** Holds the list of all possible boot items. */ 145 149 QList<KDeviceType> m_possibleBootItems;
Note:
See TracChangeset
for help on using the changeset viewer.