Merge pull request #12188 from thalieht/queuemove

Append new move storage job to queue
This commit is contained in:
Vladimir Golovnev 2020-03-17 07:18:27 +03:00 committed by GitHub
commit c323f64c96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)