From 44b57a59f5640549f631e4d457b64b9e993d7c7e Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 9 Apr 2018 18:26:01 +0300 Subject: [PATCH] Log successful torrent move --- src/base/bittorrent/torrenthandle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/bittorrent/torrenthandle.cpp b/src/base/bittorrent/torrenthandle.cpp index b3cefc797..bc75f0e9c 100644 --- a/src/base/bittorrent/torrenthandle.cpp +++ b/src/base/bittorrent/torrenthandle.cpp @@ -1445,8 +1445,8 @@ void TorrentHandle::handleStorageMovedAlert(const libtorrent::storage_moved_aler return; } - qDebug("Torrent is successfully moved from %s to %s" - , qUtf8Printable(m_moveStorageInfo.oldPath), qUtf8Printable(m_moveStorageInfo.newPath)); + LogMsg(tr("Successfully moved torrent: %1. New path: %2").arg(name(), m_moveStorageInfo.newPath)); + const QDir oldDir {m_moveStorageInfo.oldPath}; if ((oldDir == QDir(m_session->torrentTempPath(info()))) && (oldDir != QDir(m_session->tempPath()))) {