VirtualBox

Changeset 89718 in vbox


Ignore:
Timestamp:
Jun 15, 2021 6:47:42 PM (3 years ago)
Author:
vboxsync
Message:

Main/Host+Machine: Fix warning handling in the USB related methods which should convey this level of detail (not needed everywhere). bugref:3582

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r87258 r89718  
    10071007
    10081008    MultiResult rc = i_checkUSBProxyService();
    1009     if (FAILED(rc))
     1009    if (FAILED(rc) || SUCCEEDED_WARNING(rc))
    10101010        return rc;
    10111011
     
    35473547            case VERR_FILE_NOT_FOUND:  /** @todo what does this mean? */
    35483548                return setWarning(E_FAIL,
    3549                                   tr("Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might not be installed on the host computer"));
     3549                                  tr("Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND).  The service might not be installed on the host computer"));
    35503550            case VERR_VUSB_USB_DEVICE_PERMISSION:
    35513551                return setWarning(E_FAIL,
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r88365 r89718  
    1324313243    clearError();
    1324413244    MultiResult rc = mParent->i_host()->i_checkUSBProxyService();
    13245     if (FAILED(rc)) return rc;
     13245    if (FAILED(rc) || SUCCEEDED_WARNING(rc))
     13246        return rc;
    1324613247
    1324713248    USBProxyService *service = mParent->i_host()->i_usbProxyService();
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