forked from suyu/suyu
fix black icon
This commit is contained in:
parent
8f207bd93d
commit
1694c55d62
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue