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

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