Append new move storage job to queue

fixup e4ff206e3c
This commit is contained in:
thalieht
2020-03-16 20:54:27 +02:00
committed by sledgehammer999
parent 8c91c03be2
commit 716aad9483

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)