mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 02:14:16 +00:00
Merge pull request #12188 from thalieht/queuemove
Append new move storage job to queue
This commit is contained in:
commit
c323f64c96
@ -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…
x
Reference in New Issue
Block a user