NOISSUE continue the debranding

This commit is contained in:
Petr Mrázek
2021-10-16 00:42:01 +02:00
parent e12a769800
commit 297d4b4196
30 changed files with 23 additions and 1242 deletions

View File

@ -395,7 +395,7 @@ QIcon IconList::getIcon(const QString &key) const
return icons[icon_index].icon();
// Fallback for icons that don't exist.
icon_index = getIconIndex("infinity");
icon_index = getIconIndex("grass");
if (icon_index != -1)
return icons[icon_index].icon();
@ -404,7 +404,7 @@ QIcon IconList::getIcon(const QString &key) const
int IconList::getIconIndex(const QString &key) const
{
auto iter = name_index.find(key == "default" ? "infinity" : key);
auto iter = name_index.find(key == "default" ? "grass" : key);
if (iter != name_index.end())
return *iter;