aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launcher/FileSystem.h1
-rw-r--r--launcher/modplatform/modpacksch/FTBPackInstallTask.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/launcher/FileSystem.h b/launcher/FileSystem.h
index 771bda60..11981f68 100644
--- a/launcher/FileSystem.h
+++ b/launcher/FileSystem.h
@@ -75,6 +75,7 @@ bool ensureFilePathExists(QString filenamepath);
*/
bool ensureFolderPathExists(QString filenamepath);
+// TODO: remove in favor of FS::copy once #333 is merged
bool copyFile(QString const& src, QString const& dst);
/// @brief Copies a directory and it's contents from src to dest
diff --git a/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp b/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
index 5091db0c..06ef1deb 100644
--- a/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
+++ b/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
@@ -373,7 +373,7 @@ void PackInstallTask::copyBlockedMods() {
qDebug() << "Will try to copy" << mod->localPath << "to" << dest_path;
- if (!FS::copyFile(mod->localPath, dest_path)) {
+ if (!FS::copyFile(mod->localPath, dest_path)) { // FIXME: use FS::copy once #333 is merged
qDebug() << "Copy of" << mod->localPath << "to" << dest_path << "Failed";
}