mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Avoid repeating the return type
This commit is contained in:
@@ -90,7 +90,7 @@ QIcon GuiIconProvider::getIcon(const QString &iconId, const QString &fallback) c
|
||||
|
||||
QIcon GuiIconProvider::getFlagIcon(const QString &countryIsoCode) const
|
||||
{
|
||||
if (countryIsoCode.isEmpty()) return QIcon();
|
||||
if (countryIsoCode.isEmpty()) return {};
|
||||
return QIcon(":/icons/flags/" + countryIsoCode.toLower() + ".svg");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user