Browse Source

Merge pull request #12188 from thalieht/queuemove

Append new move storage job to queue
adaptive-webui-19844
Vladimir Golovnev 5 years ago committed by GitHub
parent
commit
c323f64c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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
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…
Cancel
Save