Changeset 33638 in vbox
- Timestamp:
- Nov 1, 2010 8:10:29 AM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/vm
- Files:
-
- 2 edited
-
VBoxVMSettingsDisplay.cpp (modified) (2 diffs)
-
VBoxVMSettingsDisplay.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.cpp
r33632 r33638 148 148 m_cache.m_iCurrentVRAM = m_machine.GetVRAMSize(); 149 149 m_cache.m_cMonitorCount = m_machine.GetMonitorCount(); 150 m_cache.m_f3dAccelerationSupported = vboxGlobal().virtualBox().GetHost().GetAcceleration3DAvailable();151 150 m_cache.m_f3dAccelerationEnabled = m_machine.GetAccelerate3DEnabled(); 152 151 #ifdef VBOX_WITH_VIDEOHWACCEL 153 m_cache.m_f2dAccelerationSupported = VBoxGlobal::isAcceleration2DVideoAvailable();154 152 m_cache.m_f2dAccelerationEnabled = m_machine.GetAccelerate2DVideoEnabled(); 155 153 #endif … … 175 173 /* Apply internal variables data to QWidget(s): */ 176 174 mSlMonitors->setValue(m_cache.m_cMonitorCount); 177 mCb3D->setEnabled( m_cache.m_f3dAccelerationSupported);175 mCb3D->setEnabled(vboxGlobal().virtualBox().GetHost().GetAcceleration3DAvailable()); 178 176 mCb3D->setChecked(m_cache.m_f3dAccelerationEnabled); 179 177 #ifdef VBOX_WITH_VIDEOHWACCEL 180 mCb2DVideo->setEnabled( m_cache.m_f2dAccelerationSupported);178 mCb2DVideo->setEnabled(VBoxGlobal::isAcceleration2DVideoAvailable()); 181 179 mCb2DVideo->setChecked(m_cache.m_f2dAccelerationEnabled); 182 180 #endif -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.h
r33631 r33638 29 29 int m_iCurrentVRAM; 30 30 int m_cMonitorCount; 31 bool m_f3dAccelerationSupported;32 31 bool m_f3dAccelerationEnabled; 33 bool m_f2dAccelerationSupported;34 32 bool m_f2dAccelerationEnabled; 35 33 bool m_fVRDEServerSupported;
Note:
See TracChangeset
for help on using the changeset viewer.

