Browse Source

Log successful torrent move

adaptive-webui-19844
sledgehammer999 7 years ago
parent
commit
e5c73cee4a
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 4
      src/base/bittorrent/torrenthandle.cpp

4
src/base/bittorrent/torrenthandle.cpp

@ -1445,8 +1445,8 @@ void TorrentHandle::handleStorageMovedAlert(const libtorrent::storage_moved_aler
return; return;
} }
qDebug("Torrent is successfully moved from %s to %s" LogMsg(tr("Successfully moved torrent: %1. New path: %2").arg(name(), m_moveStorageInfo.newPath));
, qUtf8Printable(m_moveStorageInfo.oldPath), qUtf8Printable(m_moveStorageInfo.newPath));
const QDir oldDir {m_moveStorageInfo.oldPath}; const QDir oldDir {m_moveStorageInfo.oldPath};
if ((oldDir == QDir(m_session->torrentTempPath(info()))) if ((oldDir == QDir(m_session->torrentTempPath(info())))
&& (oldDir != QDir(m_session->tempPath()))) { && (oldDir != QDir(m_session->tempPath()))) {

Loading…
Cancel
Save