Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KInfoCenter
Commits
ec46df3c
Commit
ec46df3c
authored
Apr 25, 2021
by
Pino Toscano
Browse files
usb: translate also the LIBUSB_CLASS_MISCELLANEOUS class
Available in libusb >= 1.0.24.
parent
8afb5c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/usbview/usbdevices.cpp
View file @
ec46df3c
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment