VirtualBox

Changeset 8978 in vbox


Ignore:
Timestamp:
May 20, 2008 7:43:40 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Don't show pseudo-USB subsystem errors in OSE (#2830).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp

    r8947 r8978  
    612612void VBoxProblemReporter::cannotAccessUSB (const COMBase &obj)
    613613{
    614     /* if there is no error info available, it should mean that
    615      * IMachine::GetUSBController(), IHost::GetUSBDevices() etc. just returned
    616      * E_NOTIMPL, as for the OSE version. Don't show the error message in this
    617      * case since it's normal. */
     614    /* If IMachine::GetUSBController(), IHost::GetUSBDevices() etc. return
     615     * E_NOTIMPL, it means the USB support is intentionally missing
     616     * (as in the OSE version). Don't show the error message in this case. */
    618617    COMResult res (obj);
    619     if (res.rc() == E_NOTIMPL && !res.errorInfo().isBasicAvailable())
     618    if (res.rc() == E_NOTIMPL)
    620619        return;
    621620
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