fix black icon

pull/8/head
Narr the Reg 3 years ago
parent 8f207bd93d
commit 1694c55d62

@ -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);
} }
} }

Loading…
Cancel
Save