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

Move torrent immediately when "save path" is changed

This commit is contained in:
Vladimir Golovnev (Glassez) 2022-01-10 08:18:34 +03:00
parent 52b54fe154
commit fbc85bed64
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

View File

@ -411,7 +411,7 @@ void TorrentImpl::setSavePath(const QString &path)
m_session->handleTorrentNeedSaveResumeData(this);
const bool isFinished = isSeed() || m_hasSeedStatus;
if (isFinished)
if (isFinished || downloadPath().isEmpty())
moveStorage(savePath(), MoveStorageMode::KeepExistingFiles);
}