Browse Source

fix black icon

Narr the Reg 3 năm trước cách đây
mục cha
commit
1694c55d62
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);
         }
     }