Changeset 90167 in vbox
- Timestamp:
- Jul 13, 2021 12:49:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r90086 r90167 71 71 #include "CVRDEServer.h" 72 72 #include "CUSBController.h" 73 #include "CUSBDeviceFilter.h" 73 74 #include "CUSBDeviceFilters.h" 74 75 #include "CHostVideoInputDevice.h" … … 1814 1815 CHost comHost = uiCommon().host(); 1815 1816 if (comHost.GetUSBDevices().isEmpty() && comHost.isWarning()) 1816 msgCenter().cannotEnumerateHostUSBDevices(comHost, activeMachineWindow()); 1817 { 1818 /* Do not bitch if USB disabled: */ 1819 if (!machine().GetUSBControllers().isEmpty()) 1820 { 1821 /* Do not bitch if there are no filters (check if enabled too?): */ 1822 if (!machine().GetUSBDeviceFilters().GetDeviceFilters().isEmpty()) 1823 msgCenter().cannotEnumerateHostUSBDevices(comHost, activeMachineWindow()); 1824 } 1825 } 1817 1826 1818 1827 /* True by default: */
Note:
See TracChangeset
for help on using the changeset viewer.