Browse Source

Revert changes of conflict resolution strategy on automatic move

PR #18516.
Closes #18297.
Closes #18495.
adaptive-webui-19844
Vladimir Golovnev 2 years ago committed by GitHub
parent
commit
7227d2b2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/base/bittorrent/torrentimpl.cpp

2
src/base/bittorrent/torrentimpl.cpp

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

Loading…
Cancel
Save