aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCopyTask.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-06-02 16:14:38 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-06-02 16:14:38 -0700
commit8eb10e991f79ef38e1c689d28e34b5f4fda8dc83 (patch)
tree39c52ff29e4620244db43ce6fa7c0c62e06d8324 /launcher/InstanceCopyTask.cpp
parentf6f32914de6dbad07cffe786d0f15df03525a1c2 (diff)
downloadPrismLauncher-8eb10e991f79ef38e1c689d28e34b5f4fda8dc83.tar.gz
PrismLauncher-8eb10e991f79ef38e1c689d28e34b5f4fda8dc83.tar.bz2
PrismLauncher-8eb10e991f79ef38e1c689d28e34b5f4fda8dc83.zip
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>
Diffstat (limited to 'launcher/InstanceCopyTask.cpp')
-rw-r--r--launcher/InstanceCopyTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/InstanceCopyTask.cpp b/launcher/InstanceCopyTask.cpp
index abe97b17..a0b5635c 100644
--- a/launcher/InstanceCopyTask.cpp
+++ b/launcher/InstanceCopyTask.cpp
@@ -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.