1
0
Fork 0
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:
Dominik Riebeling 2020-08-08 18:20:28 +02:00
parent b1332d974a
commit 9cd37337de
7 changed files with 11 additions and 10 deletions

View file

@ -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")