Browse Source

Avoid temporary QString allocations

Fix up 0457fd260e
adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
ed310c2dac
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

@ -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…
Cancel
Save