Changeset 47975 in vbox for trunk/src/VBox
- Timestamp:
- Aug 21, 2013 4:05:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r47944 r47975 246 246 UIDataSettingsMachineUSB usbData; 247 247 248 /* Gather USB values: */ 249 usbData.m_fUSBEnabled = m_machine.GetUSBControllerCountByType(KUSBControllerType_OHCI) > 0; 250 usbData.m_fEHCIEnabled = m_machine.GetUSBControllerCountByType(KUSBControllerType_EHCI) > 0; 251 248 252 /* Check if controller is valid: */ 249 253 const CUSBDeviceFilters &filters = m_machine.GetUSBDeviceFilters(); 250 254 if (!filters.isNull()) 251 255 { 252 /* Gather USB values: */253 usbData.m_fUSBEnabled = m_machine.GetUSBControllerCountByType(KUSBControllerType_OHCI) > 0;254 usbData.m_fEHCIEnabled = m_machine.GetUSBControllerCountByType(KUSBControllerType_EHCI) > 0;255 256 256 /* For each USB filter: */ 257 257 const CUSBDeviceFilterVector &coll = filters.GetDeviceFilters();
Note:
See TracChangeset
for help on using the changeset viewer.