1
0
Fork 0
forked from suyu/suyu

fix black icon

This commit is contained in:
Narr the Reg 2022-09-10 12:57:19 -05:00
parent 8f207bd93d
commit 1694c55d62

View file

@ -90,6 +90,8 @@ public:
setData(game_name, GameNameRole); setData(game_name, GameNameRole);
if (!smdh_icon.isNull()) { if (!smdh_icon.isNull()) {
setData(smdh_icon, GameIconRole); setData(smdh_icon, GameIconRole);
} else {
setData(QIcon::fromTheme(QStringLiteral("chip")).pixmap(32), GameIconRole);
} }
} }