revert: regional country codes UI (#2567) (#2621)

This commit is contained in:
vkamn
2026-05-20 13:55:28 +08:00
committed by GitHub
parent 482ec04b4a
commit 0658a8f565
4 changed files with 2 additions and 27 deletions
+1 -2
View File
@@ -5,7 +5,6 @@
#include "core/utils/serverConfigUtils.h"
#include "core/utils/constants/apiKeys.h"
#include "core/utils/constants/apiConstants.h"
#include "core/utils/api/apiUtils.h"
#include "logger.h"
namespace
@@ -42,7 +41,7 @@ QVariant ApiCountryModel::data(const QModelIndex &index, int role) const
return countryInfo.countryName;
}
case CountryImageCodeRole: {
return apiUtils::countryCodeBaseForFlag(countryInfo.countryCode);
return countryInfo.countryCode.toUpper();
}
case IsIssuedRole: {
return isIssued;