mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
@@ -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
|
||||
|
||||
@@ -414,7 +414,7 @@ void OptionsDialog::initializeLanguageCombo()
|
||||
QLocale locale(localeStr);
|
||||
languageName = languageToLocalizedString(locale);
|
||||
}
|
||||
m_ui->comboI18n->addItem(/*QIcon(":/icons/flags/"+country+".png"), */ languageName, localeStr);
|
||||
m_ui->comboI18n->addItem(/*QIcon(":/icons/flags/"+country+".svg"), */ languageName, localeStr);
|
||||
qDebug() << "Supported locale:" << localeStr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user