1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Revert changes of conflict resolution strategy on automatic move

PR #18516.
Closes #18297.
Closes #18495.
This commit is contained in:
Vladimir Golovnev 2023-02-05 09:29:43 +03:00 committed by GitHub
parent 0dcbf9f698
commit 7227d2b2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2201,7 +2201,7 @@ void TorrentImpl::adjustStorageLocation()
const Path targetPath = ((isFinished || downloadPath.isEmpty()) ? savePath() : downloadPath);
if ((targetPath != actualStorageLocation()) || isMoveInProgress())
moveStorage(targetPath, MoveStorageMode::FailIfExist);
moveStorage(targetPath, MoveStorageMode::Overwrite);
}
void TorrentImpl::doRenameFile(int index, const Path &path)