diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-08 18:20:28 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-16 12:13:28 +0200 |
commit | 9cd37337dec6c970a1fd148e92ffc43fbf409cc3 (patch) | |
tree | 97635a16a175bb4b4a1d51cedea603bc24b77d7d /rbutil/rbutilqt/sysinfo.cpp | |
parent | b1332d974aa065e3c2a01408625d7c2c5b7fc77c (diff) | |
download | rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.gz 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.cpp | 2 |
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) | |||
48 | info += tr("<b>Permissions</b><br/>%1<hr/>").arg(System::userPermissionsString()); | 48 | info += tr("<b>Permissions</b><br/>%1<hr/>").arg(System::userPermissionsString()); |
49 | #endif | 49 | #endif |
50 | info += tr("<b>Attached USB devices</b><br/>"); | 50 | info += tr("<b>Attached USB devices</b><br/>"); |
51 | QMap<uint32_t, QString> usbids = System::listUsbDevices(); | 51 | QMultiMap<uint32_t, QString> usbids = System::listUsbDevices(); |
52 | QList<uint32_t> usbkeys = usbids.keys(); | 52 | QList<uint32_t> usbkeys = usbids.keys(); |
53 | for(int i = 0; i < usbkeys.size(); i++) { | 53 | for(int i = 0; i < usbkeys.size(); i++) { |
54 | info += tr("VID: %1 PID: %2, %3") | 54 | info += tr("VID: %1 PID: %2, %3") |