From ed310c2daceb7f0274db8bdf1de7ad68fe4adb4f Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 9 Mar 2018 01:03:05 +0800 Subject: [PATCH] Avoid temporary QString allocations Fix up 0457fd260ece246e288005ce24f5ea241b236b74 --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index f587e82f6..0c385b29d 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -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;