summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/sysinfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-08 18:20:28 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-16 12:13:28 +0200
commit9cd37337dec6c970a1fd148e92ffc43fbf409cc3 (patch)
tree97635a16a175bb4b4a1d51cedea603bc24b77d7d /rbutil/rbutilqt/sysinfo.cpp
parentb1332d974aa065e3c2a01408625d7c2c5b7fc77c (diff)
downloadrockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.gz
rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.bz2
rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.zip
rbutil: Fix various warnings.
Replace use of deprecated APIs with their replacements, and fix some other minor warnings. Change-Id: I3f63e0bd91b96ce86ce39c087fe0040fc226d16d
Diffstat (limited to 'rbutil/rbutilqt/sysinfo.cpp')
-rw-r--r--rbutil/rbutilqt/sysinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/sysinfo.cpp b/rbutil/rbutilqt/sysinfo.cpp
index 0bb5465240..75ade2438f 100644
--- a/rbutil/rbutilqt/sysinfo.cpp
+++ b/rbutil/rbutilqt/sysinfo.cpp
@@ -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")