Parcourir la source

fix black icon

Narr the Reg il y a 3 ans
Parent
commit
1694c55d62
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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);
         }
     }