fix: use isSymLink (i've made this mistake before but I've made it again)

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2023-06-02 16:14:38 -07:00
parent f6f32914de
commit 8eb10e991f

View File

@ -155,7 +155,7 @@ void InstanceCopyTask::copyFinished()
}
allowed_symlinks.append(m_origInstance->gameRoot().toUtf8());
allowed_symlinks.append("\n");
if (allowed_symlinks_file.isSymbolicLink())
if (allowed_symlinks_file.isSymLink())
FS::deletePath(allowed_symlinks_file
.path()); // we dont want to modify the origonal. also make sure the resulting file is not itself a link.