Changeset 26977 in vbox for trunk/src/VBox
- Timestamp:
- Mar 2, 2010 9:33:25 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r26908 r26977 1998 1998 1999 1999 CUSBController ctl = aMachine.GetUSBController(); 2000 if (!ctl.isNull()) 2000 if ( !ctl.isNull() 2001 && ctl.GetProxyAvailable()) 2001 2002 { 2002 2003 /* the USB controller may be unavailable (i.e. in VirtualBox OSE) */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r26964 r26977 590 590 /* USB Stuff: */ 591 591 CUSBController usbController = machine.GetUSBController(); 592 if (usbController.isNull()) 593 { 594 /* Hide USB menu if controller is NULL: */ 592 if ( usbController.isNull() 593 || !usbController.GetProxyAvailable()) 594 { 595 /* Hide USB menu if controller is NULL or no USB proxy available: */ 595 596 uimachine()->actionsPool()->action(UIActionIndex_Menu_USBDevices)->setVisible(false); 596 597 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/VBoxSettingsDialogSpecific.cpp
r26714 r26977 597 597 598 598 /* Check if USB is implemented */ 599 if (ctl.isNull()) 599 if ( ctl.isNull() 600 || !ctl.GetProxyAvailable()) 600 601 return false; 601 602 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r26714 r26977 662 662 /* Enable the OHCI and EHCI controller by default for new VMs. (new in 2.2) */ 663 663 CUSBController usbController = m_Machine.GetUSBController(); 664 if (!usbController.isNull()) 664 if ( !usbController.isNull() 665 && usbController.GetProxyAvailable()) 665 666 { 666 667 usbController.SetEnabled(true); … … 692 693 m_Machine.SetKeyboardHidType(KKeyboardHidType_USBKeyboard); 693 694 m_Machine.SetPointingHidType(KPointingHidType_USBMouse); 695 if (!usbController.isNull()) 696 usbController.SetEnabled(true); 694 697 } 695 698
Note:
See TracChangeset
for help on using the changeset viewer.