VirtualBox

Changeset 8973 in vbox for trunk/src/VBox


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

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

File:
1 edited

Legend:

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

    r8917 r8973  
    604604void VBoxProblemReporter::cannotAccessUSB (const COMBase &obj)
    605605{
    606     /* if there is no error info available, it should mean that
    607      * IMachine::GetUSBController(), IHost::GetUSBDevices() etc. just returned
    608      * E_NOTIMPL, as for the OSE version. Don't show the error message in this
    609      * case since it's normal. */
     606    /* If IMachine::GetUSBController(), IHost::GetUSBDevices() etc. return
     607     * E_NOTIMPL, it means the USB support is intentionally missing
     608     * (as in the OSE version). Don't show the error message in this case. */
    610609    COMResult res (obj);
    611     if (res.rc() == E_NOTIMPL && !res.errorInfo().isBasicAvailable())
     610    if (res.rc() == E_NOTIMPL)
    612611        return;
    613612
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