mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Fix torrent adding with existing data
This commit is contained in:
parent
f22aee2bff
commit
8e9b0d97ec
2 changed files with 14 additions and 14 deletions
|
@ -1331,10 +1331,7 @@ bool Session::addTorrent_impl(AddTorrentData addData, const MagnetUri &magnetUri
|
|||
p.max_uploads = pref->getMaxUploadsPerTorrent();
|
||||
|
||||
QString savePath;
|
||||
// Set actual save path (e.g. temporary folder)
|
||||
if (isTempPathEnabled() && !addData.disableTempPath && !addData.hasSeedStatus)
|
||||
savePath = m_tempPath;
|
||||
else if (addData.savePath.isEmpty()) // using Advanced mode
|
||||
if (addData.savePath.isEmpty()) // using Advanced mode
|
||||
savePath = categorySavePath(addData.category);
|
||||
else // using Simple mode
|
||||
savePath = addData.savePath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue