Commit 61f7b14e authored by Mikel Johnson's avatar Mikel Johnson

[Kicker] Expose icon in Favorites as a name where possible

parent 7da3e583
......@@ -68,7 +68,8 @@ QVariant SimpleFavoritesModel::data(const QModelIndex& index, int role) const
if (role == Qt::DisplayRole) {
return entry->name();
} else if (role == Qt::DecorationRole) {
return entry->icon();
if(entry->icon().name() != "") return entry->icon().name();
else return entry->icon();
} else if (role == Kicker::DescriptionRole) {
return entry->description();
} else if (role == Kicker::FavoriteIdRole) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment