mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 21:52:20 +00:00
Append new move storage job to queue
fixup e4ff206e3c7eddc5652c8f7fb5315ff9938d419e
This commit is contained in:
parent
8e553adc92
commit
18289f2395
@ -3978,6 +3978,7 @@ bool Session::addMoveTorrentStorageJob(TorrentHandle *torrent, const QString &ne
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
const MoveStorageJob moveStorageJob {torrent, newPath, mode};
|
const MoveStorageJob moveStorageJob {torrent, newPath, mode};
|
||||||
|
m_moveStorageQueue << moveStorageJob;
|
||||||
qDebug("Move storage from \"%s\" to \"%s\" is enqueued.", qUtf8Printable(currentLocation), qUtf8Printable(newPath));
|
qDebug("Move storage from \"%s\" to \"%s\" is enqueued.", qUtf8Printable(currentLocation), qUtf8Printable(newPath));
|
||||||
|
|
||||||
if (m_moveStorageQueue.size() == 1)
|
if (m_moveStorageQueue.size() == 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user