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/configure.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/configure.cpp')
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index cc8b0ff976..ab0281774d 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp | |||
@@ -350,12 +350,12 @@ void Config::setDevices() | |||
350 | else | 350 | else |
351 | platformList = SystemInfo::platforms(SystemInfo::PlatformAll); | 351 | platformList = SystemInfo::platforms(SystemInfo::PlatformAll); |
352 | 352 | ||
353 | QMap <QString, QString> manuf; | 353 | QMultiMap <QString, QString> manuf; |
354 | for(int it = 0; it < platformList.size(); it++) | 354 | for(int it = 0; it < platformList.size(); it++) |
355 | { | 355 | { |
356 | QString curbrand = SystemInfo::platformValue(platformList.at(it), | 356 | QString curbrand = SystemInfo::platformValue(platformList.at(it), |
357 | SystemInfo::CurBrand).toString(); | 357 | SystemInfo::CurBrand).toString(); |
358 | manuf.insertMulti(curbrand, platformList.at(it)); | 358 | manuf.insert(curbrand, platformList.at(it)); |
359 | } | 359 | } |
360 | 360 | ||
361 | // set up devices table | 361 | // set up devices table |