mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:26:59 +03:00
Merge pull request #12188 from thalieht/queuemove
Append new move storage job to queue
This commit is contained in:
commit
c323f64c96
1 changed files with 1 additions and 0 deletions
|
@ -3978,6 +3978,7 @@ bool Session::addMoveTorrentStorageJob(TorrentHandle *torrent, const QString &ne
|
|||
return false;
|
||||
|
||||
const MoveStorageJob moveStorageJob {torrent, newPath, mode};
|
||||
m_moveStorageQueue << moveStorageJob;
|
||||
qDebug("Move storage from \"%s\" to \"%s\" is enqueued.", qUtf8Printable(currentLocation), qUtf8Printable(newPath));
|
||||
|
||||
if (m_moveStorageQueue.size() == 1)
|
||||
|
|
Loading…
Reference in a new issue