mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
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:
parent
b1332d974a
commit
9cd37337de
7 changed files with 11 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue