瀏覽代碼

fix black icon

Narr the Reg 3 年之前
父節點
當前提交
1694c55d62
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/yuzu/multiplayer/lobby_p.h

+ 2 - 0
src/yuzu/multiplayer/lobby_p.h

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