diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-11-01 04:28:57 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-11-01 04:28:57 -0700 |
commit | 6010ce0dc587527caa05bdc9b4cecdb9bd811375 (patch) | |
tree | 8d3fdc4db281f5d7f5b68e86b19300722b2e7b46 /launcher/modplatform/flame | |
parent | a7a331a26e43df3dbafdbb29a59d38ba807ffa7d (diff) | |
download | PrismLauncher-6010ce0dc587527caa05bdc9b4cecdb9bd811375.tar.gz PrismLauncher-6010ce0dc587527caa05bdc9b4cecdb9bd811375.tar.bz2 PrismLauncher-6010ce0dc587527caa05bdc9b4cecdb9bd811375.zip |
chore(remove FS::copyFile):
Now that #333 is merged and FS::copy works on non directory copyFile can be removed.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/modplatform/flame')
-rw-r--r-- | launcher/modplatform/flame/FlameInstanceCreationTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlameInstanceCreationTask.cpp b/launcher/modplatform/flame/FlameInstanceCreationTask.cpp index 30438a1a..5d4dc689 100644 --- a/launcher/modplatform/flame/FlameInstanceCreationTask.cpp +++ b/launcher/modplatform/flame/FlameInstanceCreationTask.cpp @@ -433,7 +433,7 @@ void FlameCreationTask::copyBlockedMods(QList<BlockedMod> const& blocked_mods) { qDebug() << "Will try to copy" << mod.localPath << "to" << dest_path; - if (!FS::copyFile(mod.localPath, dest_path)) { // FIXME: use FS::copy once #333 is merged + if (!FS::copy(mod.localPath, dest_path)()) { qDebug() << "Copy of" << mod.localPath << "to" << dest_path << "Failed"; } |