Browse Source

Merge pull request #13175 from glassez/move-status

Update torrent status on move enqueued
adaptive-webui-19844
Vladimir Golovnev 4 years ago committed by GitHub
parent
commit
2a638d16e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/base/bittorrent/torrenthandleimpl.cpp

4
src/base/bittorrent/torrenthandleimpl.cpp

@ -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…
Cancel
Save