VirtualBox

Changeset 20514 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 12, 2009 1:27:04 PM (15 years ago)
Author:
vboxsync
Message:

OVF export: better handle the case when there is no USB controller available (e.g. OSE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r20337 r20514  
    45094509        // this is more tricky so use the COM method
    45104510        rc = COMGETTER(USBController)(pUsbController.asOutParam());
    4511         if (FAILED(rc)) throw rc;
    4512         rc = pUsbController->COMGETTER(Enabled)(&fUSBEnabled);
     4511        if (FAILED(rc))
     4512            fUSBEnabled = false;
     4513        else
     4514            rc = pUsbController->COMGETTER(Enabled)(&fUSBEnabled);
    45134515
    45144516        pAudioAdapter = mAudioAdapter;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette