From d5db0c6c1bb4a358c0433e846c7ce36157495539 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Tue, 14 Apr 2026 00:31:23 +0500 Subject: [PATCH] fix(SkinList): do not consider non-png files correctly Signed-off-by: Octol1ttle --- launcher/minecraft/skins/SkinList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/minecraft/skins/SkinList.cpp b/launcher/minecraft/skins/SkinList.cpp index b47f17db5..c960b9493 100644 --- a/launcher/minecraft/skins/SkinList.cpp +++ b/launcher/minecraft/skins/SkinList.cpp @@ -121,7 +121,7 @@ bool SkinList::update() auto folderContents = m_dir.entryInfoList(); // if there are any untracked files... for (QFileInfo entry : folderContents) { - if (!entry.isFile() && entry.suffix() != "png") + if (!entry.isFile() || entry.suffix() != "png") continue; SkinModel w(entry.absoluteFilePath());