mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Merge pull request #13175 from glassez/move-status
Update torrent status on move enqueued
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user