|
|
|
@ -1803,7 +1803,7 @@ void TorrentHandle::handleSaveResumeDataFailedAlert(const lt::save_resume_data_f
@@ -1803,7 +1803,7 @@ void TorrentHandle::handleSaveResumeDataFailedAlert(const lt::save_resume_data_f
|
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
LogMsg(tr("Save resume data failed. Torrent: \"%1\", error: \"%2\"") |
|
|
|
|
.arg(name(), QString::fromStdString(p->error.message())), Log::CRITICAL); |
|
|
|
|
.arg(name(), QString::fromLocal8Bit(p->error.message().c_str())), Log::CRITICAL); |
|
|
|
|
m_session->handleTorrentResumeDataFailed(this); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1873,7 +1873,7 @@ void TorrentHandle::handleFileRenameFailedAlert(const lt::file_rename_failed_ale
@@ -1873,7 +1873,7 @@ void TorrentHandle::handleFileRenameFailedAlert(const lt::file_rename_failed_ale
|
|
|
|
|
{ |
|
|
|
|
LogMsg(tr("File rename failed. Torrent: \"%1\", file: \"%2\", reason: \"%3\"") |
|
|
|
|
.arg(name(), filePath(LTUnderlyingType<LTFileIndex> {p->index}) |
|
|
|
|
, QString::fromStdString(p->error.message())), Log::WARNING); |
|
|
|
|
, QString::fromLocal8Bit(p->error.message().c_str())), Log::WARNING); |
|
|
|
|
|
|
|
|
|
m_oldPath[p->index].removeFirst(); |
|
|
|
|
if (m_oldPath[p->index].isEmpty()) |
|
|
|
|