From 65db50df5d44c65df093367390850f0d9e9d9438 Mon Sep 17 00:00:00 2001 From: Florin9doi <2995486+Florin9doi@users.noreply.github.com> Date: Thu, 10 Feb 2022 22:02:55 +0200 Subject: [PATCH] Qt: Add icon for Cn BIOS. --- pcsx2-qt/Settings/BIOSSettingsWidget.cpp | 5 ++++- pcsx2-qt/resources/icons/flag-cn.png | Bin 0 -> 244 bytes pcsx2-qt/resources/resources.qrc | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 pcsx2-qt/resources/icons/flag-cn.png diff --git a/pcsx2-qt/Settings/BIOSSettingsWidget.cpp b/pcsx2-qt/Settings/BIOSSettingsWidget.cpp index f566e82ca1..068ec0e730 100644 --- a/pcsx2-qt/Settings/BIOSSettingsWidget.cpp +++ b/pcsx2-qt/Settings/BIOSSettingsWidget.cpp @@ -124,9 +124,12 @@ void BIOSSettingsWidget::listRefreshed(const QVector& items) item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-eu.png"))); break; + case 7: // China + item->setIcon(0, QIcon(QStringLiteral(":/icons/flag-cn.png"))); + break; + case 5: // HK case 6: // Free - case 7: // China case 0: // T10K case 1: // Test default: diff --git a/pcsx2-qt/resources/icons/flag-cn.png b/pcsx2-qt/resources/icons/flag-cn.png new file mode 100644 index 0000000000000000000000000000000000000000..19bca1f3e31864540db067c132e9bade3717c730 GIT binary patch literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^T0ktv!3-pGztvmNn{1`c>;VwT*azwbvfd2AK3y8GK)s#Zw)@ZZI}r!v@Y zY1|Zg9q08q%q!&9oMrxMqGq3GFP`yg-4Ex0<5dy$4npB)VpeWC#a5caU-J9i%wIQ` iPPb|e>S7Ci#%S?_?a))EhE+hz7(8A5T-G@yGywo)q*VU^ literal 0 HcmV?d00001 diff --git a/pcsx2-qt/resources/resources.qrc b/pcsx2-qt/resources/resources.qrc index 6e9f2b4b9e..112e15c472 100644 --- a/pcsx2-qt/resources/resources.qrc +++ b/pcsx2-qt/resources/resources.qrc @@ -203,6 +203,7 @@ icons/black/64/window-2-line.png icons/black/index.theme icons/discord.png + icons/flag-cn.png icons/flag-eu.png icons/flag-eu.svg icons/flag-eu@2x.png