mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix incorrectly set torrent startup flag
This commit is contained in:
@@ -1865,7 +1865,7 @@ bool Session::addTorrent_impl(CreateTorrentParams params, const MagnetUri &magne
|
||||
#if (LIBTORRENT_VERSION_NUM < 10200)
|
||||
handle.auto_managed(false);
|
||||
#else
|
||||
handle.set_flags(lt::torrent_flags::auto_managed);
|
||||
handle.unset_flags(lt::torrent_flags::auto_managed);
|
||||
#endif
|
||||
handle.pause();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user