Explorar el Código

fix black icon

Narr the Reg hace 3 años
padre
commit
1694c55d62
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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);
         }
     }