1
0
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:
Chocobo1 2018-03-09 01:03:05 +08:00
parent 50167d40d7
commit ed310c2dac
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -3748,7 +3748,7 @@ void Session::recursiveTorrentDownload(const InfoHash &hash)
Logger::instance()->addMessage(
tr("Recursive download of file '%1' embedded in torrent '%2'"
, "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;
AddTorrentParams params;