mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Fix infinite loop in SkinManageDialog (#5388)
This commit is contained in:
commit
7e8db63882
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue