mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
Merge pull request #13175 from glassez/move-status
Update torrent status on move enqueued
This commit is contained in:
commit
2a638d16e0
@ -1359,8 +1359,10 @@ void TorrentHandleImpl::resume_impl(bool forced)
|
|||||||
|
|
||||||
void TorrentHandleImpl::moveStorage(const QString &newPath, const MoveStorageMode mode)
|
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;
|
m_storageIsMoving = true;
|
||||||
|
updateStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TorrentHandleImpl::renameFile(const int index, const QString &name)
|
void TorrentHandleImpl::renameFile(const int index, const QString &name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user