1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 04:54:18 +00:00

Fix incorrectly set torrent startup flag

This commit is contained in:
Vladimir Golovnev (Glassez) 2019-06-04 06:53:17 +03:00
parent ecb4a76db7
commit 2c145fa57c
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

View File

@ -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();
}