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:
parent
f6f32914de
commit
8eb10e991f
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user