mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
parent
67cb75e9d3
commit
b68c4e2106
1 changed files with 0 additions and 5 deletions
|
@ -2769,9 +2769,6 @@ bool SessionImpl::addTorrent_impl(const std::variant<MagnetUri, TorrentInfo> &so
|
||||||
|
|
||||||
p.flags |= lt::torrent_flags::duplicate_is_error;
|
p.flags |= lt::torrent_flags::duplicate_is_error;
|
||||||
|
|
||||||
// Prevent torrent from saving initial resume data twice
|
|
||||||
p.flags &= ~lt::torrent_flags::need_save_resume;
|
|
||||||
|
|
||||||
p.added_time = std::time(nullptr);
|
p.added_time = std::time(nullptr);
|
||||||
|
|
||||||
// Limits
|
// Limits
|
||||||
|
@ -5265,8 +5262,6 @@ TorrentImpl *SessionImpl::createTorrent(const lt::torrent_handle &nativeHandle,
|
||||||
|
|
||||||
if (isRestored())
|
if (isRestored())
|
||||||
{
|
{
|
||||||
m_resumeDataStorage->store(torrent->id(), params);
|
|
||||||
|
|
||||||
// The following is useless for newly added magnet
|
// The following is useless for newly added magnet
|
||||||
if (torrent->hasMetadata())
|
if (torrent->hasMetadata())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue