mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 11:24:15 +00:00
Avoid temporary QString allocations
Fix up 0457fd260ece246e288005ce24f5ea241b236b74
This commit is contained in:
parent
50167d40d7
commit
ed310c2dac
@ -3748,7 +3748,7 @@ void Session::recursiveTorrentDownload(const InfoHash &hash)
|
|||||||
Logger::instance()->addMessage(
|
Logger::instance()->addMessage(
|
||||||
tr("Recursive download of file '%1' embedded in torrent '%2'"
|
tr("Recursive download of file '%1' embedded in torrent '%2'"
|
||||||
, "Recursive download of 'test.torrent' embedded in torrent 'test2'")
|
, "Recursive download of 'test.torrent' embedded in torrent 'test2'")
|
||||||
.arg(Utils::Fs::toNativePath(torrentRelpath)).arg(torrent->name()));
|
.arg(Utils::Fs::toNativePath(torrentRelpath), torrent->name()));
|
||||||
const QString torrentFullpath = torrent->savePath() + "/" + torrentRelpath;
|
const QString torrentFullpath = torrent->savePath() + "/" + torrentRelpath;
|
||||||
|
|
||||||
AddTorrentParams params;
|
AddTorrentParams params;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user