ensure FS::copyFile is marked for removal
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
fda2c116be
commit
a7a331a26e
@ -75,6 +75,7 @@ bool ensureFilePathExists(QString filenamepath);
|
|||||||
*/
|
*/
|
||||||
bool ensureFolderPathExists(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);
|
bool copyFile(QString const& src, QString const& dst);
|
||||||
|
|
||||||
/// @brief Copies a directory and it's contents from src to dest
|
/// @brief Copies a directory and it's contents from src to dest
|
||||||
|
@ -373,7 +373,7 @@ void PackInstallTask::copyBlockedMods() {
|
|||||||
|
|
||||||
qDebug() << "Will try to copy" << mod->localPath << "to" << dest_path;
|
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";
|
qDebug() << "Copy of" << mod->localPath << "to" << dest_path << "Failed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user