forked from len0rd/rockbox
rbutil: Fix various warnings.
Replace use of deprecated APIs with their replacements, and fix some other minor warnings. Change-Id: I3f63e0bd91b96ce86ce39c087fe0040fc226d16d
This commit is contained in:
parent
b1332d974a
commit
9cd37337de
7 changed files with 11 additions and 10 deletions
|
|
@ -48,7 +48,7 @@ QString Sysinfo::getInfo(Sysinfo::InfoType type)
|
|||
info += tr("<b>Permissions</b><br/>%1<hr/>").arg(System::userPermissionsString());
|
||||
#endif
|
||||
info += tr("<b>Attached USB devices</b><br/>");
|
||||
QMap<uint32_t, QString> usbids = System::listUsbDevices();
|
||||
QMultiMap<uint32_t, QString> usbids = System::listUsbDevices();
|
||||
QList<uint32_t> usbkeys = usbids.keys();
|
||||
for(int i = 0; i < usbkeys.size(); i++) {
|
||||
info += tr("VID: %1 PID: %2, %3")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue