mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Fix incorrectly set torrent startup flag
This commit is contained in:
parent
ecb4a76db7
commit
2c145fa57c
1 changed files with 1 additions and 1 deletions
|
@ -1865,7 +1865,7 @@ bool Session::addTorrent_impl(CreateTorrentParams params, const MagnetUri &magne
|
||||||
#if (LIBTORRENT_VERSION_NUM < 10200)
|
#if (LIBTORRENT_VERSION_NUM < 10200)
|
||||||
handle.auto_managed(false);
|
handle.auto_managed(false);
|
||||||
#else
|
#else
|
||||||
handle.set_flags(lt::torrent_flags::auto_managed);
|
handle.unset_flags(lt::torrent_flags::auto_managed);
|
||||||
#endif
|
#endif
|
||||||
handle.pause();
|
handle.pause();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue