VirtualBox

Changeset 1234 in vbox


Ignore:
Timestamp:
Mar 5, 2007 5:58:28 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Disabled Global USB UI on XPCOM hosts until a QueryInterface bug is found and fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h

    r815 r1234  
    331331    /* usb filters page */
    332332
     333    /// @todo currently, we always disable USB UI on XPCOM-based hosts because
     334    /// QueryInterface on CUSBDeviceFilter doesn't return CHostUSBDeviceFilter
     335    /// for host filters (most likely, our XPCOM/IPC/DCONNECT bug).
     336
     337#ifdef Q_OS_WIN32
    333338    CHost host = vboxGlobal().virtualBox().GetHost();
    334339    CHostUSBDeviceFilterCollection coll = host.GetUSBDeviceFilters();
    335340    if (coll.isNull())
    336341    {
     342#endif
    337343        /* disable the USB host filters category if the USB is
    338344         * not available (i.e. in VirtualBox OSE) */
     
    345351        pageUSB->setEnabled (false);
    346352       
     353#ifdef Q_OS_WIN32
    347354        /* Show an error message (if there is any).
    348355         * This message box may be suppressed if the user wishes so. */
     
    361368        lvUSBFilters_currentChanged (lvUSBFilters->firstChild());
    362369    }
     370#endif
    363371}
    364372
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