NOISSUE continue the debranding
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user