mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 05:32:05 +00:00
Don't try to move storage into its current location
This commit is contained in:
parent
f44341a8e2
commit
52b54fe154
@ -2074,6 +2074,7 @@ void TorrentImpl::adjustStorageLocation()
|
||||
const bool isFinished = isSeed() || m_hasSeedStatus;
|
||||
const QDir targetDir {((isFinished || downloadPath.isEmpty()) ? savePath() : downloadPath)};
|
||||
|
||||
if ((targetDir != QDir(actualStorageLocation())) || isMoveInProgress())
|
||||
moveStorage(targetDir.absolutePath(), MoveStorageMode::Overwrite);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user