Commit ec46df3c authored by Pino Toscano's avatar Pino Toscano
Browse files

usb: translate also the LIBUSB_CLASS_MISCELLANEOUS class

Available in libusb >= 1.0.24.
parent 8afb5c0a
......@@ -96,6 +96,10 @@ static QString prettyLibusbClassName(int class_code) {
return i18nc("USB device class", "Diagnostic");
case LIBUSB_CLASS_WIRELESS:
return i18nc("USB device class", "Wireless");
#if LIBUSB_API_VERSION >= 0x01000108
case LIBUSB_CLASS_MISCELLANEOUS:
return i18nc("USB device class", "Miscellaneous Device");
#endif
case LIBUSB_CLASS_APPLICATION:
return i18nc("USB device class", "Application Specific Interface");
case LIBUSB_CLASS_VENDOR_SPEC:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment