Browse Source

Append new move storage job to queue

fixup e4ff206e3c
adaptive-webui-19844
thalieht 5 years ago
parent
commit
18289f2395
  1. 1
      src/base/bittorrent/session.cpp

1
src/base/bittorrent/session.cpp

@ -3978,6 +3978,7 @@ bool Session::addMoveTorrentStorageJob(TorrentHandle *torrent, const QString &ne @@ -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…
Cancel
Save