summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.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/configure.cpp
parentb1332d974aa065e3c2a01408625d7c2c5b7fc77c (diff)
downloadrockbox-9cd37337de.tar.gz
rockbox-9cd37337de.tar.bz2
rockbox-9cd37337de.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.cpp4
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()
else
platformList = SystemInfo::platforms(SystemInfo::PlatformAll);
- QMap <QString, QString> manuf;
+ QMultiMap <QString, QString> manuf;
for(int it = 0; it < platformList.size(); it++)
{
QString curbrand = SystemInfo::platformValue(platformList.at(it),
SystemInfo::CurBrand).toString();
- manuf.insertMulti(curbrand, platformList.at(it));
+ manuf.insert(curbrand, platformList.at(it));
}
// set up devices table