1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Merge pull request #13175 from glassez/move-status

Update torrent status on move enqueued
This commit is contained in:
Vladimir Golovnev 2020-07-23 09:20:47 +03:00 committed by GitHub
commit 2a638d16e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1359,8 +1359,10 @@ void TorrentHandleImpl::resume_impl(bool forced)
void TorrentHandleImpl::moveStorage(const QString &newPath, const MoveStorageMode mode)
{
if (m_session->addMoveTorrentStorageJob(this, newPath, mode))
if (m_session->addMoveTorrentStorageJob(this, newPath, mode)) {
m_storageIsMoving = true;
updateStatus();
}
}
void TorrentHandleImpl::renameFile(const int index, const QString &name)