Browse Source

Update torrent status on move enqueued

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago
parent
commit
c3104e0210
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  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