Changeset 33620 in vbox
- Timestamp:
- Oct 29, 2010 3:54:58 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/vm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.cpp
r33617 r33620 151 151 152 152 m_bWddmMode = bWddm; 153 check MultiMonitorReqs();153 checkVRAMRequirements(); 154 154 } 155 155 #endif … … 161 161 int currentSize = mMachine.GetVRAMSize(); 162 162 m_initialVRAM = RT_MIN(currentSize, m_maxVRAM); 163 164 /* must come _before_ setting the initial memory value */165 checkMultiMonitorReqs();166 163 167 164 /* Memory Size */ … … 176 173 mCb3D->setEnabled (isAccelerationSupported); 177 174 mCb3D->setChecked (mMachine.GetAccelerate3DEnabled()); 175 176 /* must come _before_ setting the initial memory value */ 177 checkVRAMRequirements(); 178 178 179 179 #ifdef VBOX_WITH_VIDEOHWACCEL … … 273 273 } 274 274 #endif 275 #ifdef VBOX_WITH_CRHGSMI 276 checkVRAMRequirements(); 277 #endif 275 278 276 279 /* 3D Acceleration support test */ … … 335 338 { 336 339 mLeMonitors->setText (QString().setNum (aVal)); 337 check MultiMonitorReqs();340 checkVRAMRequirements(); 338 341 } 339 342 … … 343 346 } 344 347 345 void VBoxVMSettingsDisplay::check MultiMonitorReqs()348 void VBoxVMSettingsDisplay::checkVRAMRequirements() 346 349 { 347 350 int cVal = mSlMonitors->value(); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.h
r33617 r33620 65 65 private: 66 66 67 void check MultiMonitorReqs();67 void checkVRAMRequirements(); 68 68 69 69 CMachine mMachine; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsGeneral.cpp
r33617 r33620 61 61 62 62 #ifdef VBOX_WITH_CRHGSMI 63 #include <stdio.h>64 63 bool VBoxVMSettingsGeneral::isWddmSupportedForOSType() const 65 64 { 66 65 const QString & id = mOSTypeSelector->type().GetId(); 67 printf("%S\n", id.utf16());68 66 bool bWddm = id == "WindowsVista" || id == "Windows7"; 69 67 return bWddm;
Note:
See TracChangeset
for help on using the changeset viewer.