Append new move storage job to queue

fixup e4ff206e3c
This commit is contained in:
thalieht 2020-03-16 20:54:27 +02:00
parent 8e553adc92
commit 18289f2395

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)