Use svg icons for the country flags.

Closes #6223.
This commit is contained in:
sledgehammer999
2017-10-21 00:41:24 +03:00
parent 9600e7f5ad
commit 52df71ad3a
496 changed files with 17702 additions and 253 deletions

View File

@@ -80,7 +80,7 @@ QIcon GuiIconProvider::getIcon(const QString &iconId, const QString &fallback)
QIcon GuiIconProvider::getFlagIcon(const QString &countryIsoCode)
{
if (countryIsoCode.isEmpty()) return QIcon();
return QIcon(":/icons/flags/" + countryIsoCode.toLower() + ".png");
return QIcon(":/icons/flags/" + countryIsoCode.toLower() + ".svg");
}
// Makes sure the icon is at least available in 16px and 24px size