Qt: Adding back BIOS flags

The old code was still being used for getting the icons but they were renamed and moved into another folder. Oops!
This commit is contained in:
RedDevilus 2022-06-01 14:47:46 +02:00 committed by refractionpcsx2
parent 6d3f42a441
commit 815c0a394d
3 changed files with 6 additions and 7 deletions

View File

@ -123,30 +123,30 @@ void BIOSSettingsWidget::listRefreshed(const QVector<BIOSInfo>& items)
switch (bi.region)
{
case 2: // Japan
item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-jp.png")));
item->setIcon(0, QIcon(QStringLiteral(":/icons/flags/NTSC-J.png")));
break;
case 3: // USA
item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-us.png")));
item->setIcon(0, QIcon(QStringLiteral(":/icons/flags/NTSC-U.png")));
break;
case 4: // Europe
item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-eu.png")));
item->setIcon(0, QIcon(QStringLiteral(":/icons/flags/PAL-E.png")));
break;
case 7: // China
item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-cn.png")));
item->setIcon(0, QIcon(QStringLiteral(":/icons//flags/NTSC-C.png")));
break;
case 5: // HK
item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-hk.png")));
item->setIcon(0, QIcon(QStringLiteral(":/icons/flags/NTSC-HK.png")));
break;
case 6: // Free
case 0: // T10K
case 1: // Test
default:
item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-jp.png")));
item->setIcon(0, QIcon(QStringLiteral(":/icons/flags/NTSC-J.png")));
break;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -45,7 +45,6 @@
<file>icons/black/svg/window-2-line.svg</file>
<file>icons/black/index.theme</file>
<file>icons/discord.png</file>
<file>icons/flags/flag-cn.png</file>
<file>icons/flags/NTSC-B.png</file>
<file>icons/flags/NTSC-C.png</file>
<file>icons/flags/NTSC-HK.png</file>