Changeset 28994 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 4, 2010 8:23:10 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61020
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r28963 r28994 1477 1477 { 1478 1478 /* Get uisession machine: */ 1479 CMachinemachine = session().GetConsole().GetMachine();1479 const CMachine &machine = session().GetConsole().GetMachine(); 1480 1480 1481 1481 /* Availability settings: */ 1482 1482 { 1483 1483 /* USB Stuff: */ 1484 CUSBControllerusbController = machine.GetUSBController();1484 const CUSBController &usbController = machine.GetUSBController(); 1485 1485 if ( usbController.isNull() 1486 || !usbController.GetEnabled() 1486 1487 || !usbController.GetProxyAvailable()) 1487 1488 { -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r28800 r28994 556 556 { 557 557 /* USB Stuff: */ 558 CUSBController usbController = machine.GetUSBController(); 559 if (usbController.isNull()) 558 const CUSBController &usbController = machine.GetUSBController(); 559 if ( usbController.isNull() 560 || !usbController.GetEnabled() 561 || !usbController.GetProxyAvailable()) 560 562 { 561 563 /* Hide USB Menu: */
Note:
See TracChangeset
for help on using the changeset viewer.