mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
parent
4a5d2e2558
commit
e19173c1f3
1 changed files with 3 additions and 0 deletions
|
@ -2753,6 +2753,9 @@ bool SessionImpl::addTorrent_impl(const std::variant<MagnetUri, TorrentInfo> &so
|
|||
|
||||
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);
|
||||
|
||||
// Limits
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue