mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Merge pull request #11886 from Chocobo1/deprecate
Migrate away from deprecated settings
This commit is contained in:
commit
9f9868bd79
1 changed files with 2 additions and 0 deletions
|
@ -1088,7 +1088,9 @@ void Session::initializeNativeSession()
|
||||||
// turn them off before `lt::session` ctor to avoid split second effects
|
// turn them off before `lt::session` ctor to avoid split second effects
|
||||||
pack.set_bool(lt::settings_pack::enable_upnp, false);
|
pack.set_bool(lt::settings_pack::enable_upnp, false);
|
||||||
pack.set_bool(lt::settings_pack::enable_natpmp, false);
|
pack.set_bool(lt::settings_pack::enable_natpmp, false);
|
||||||
|
#if (LIBTORRENT_VERSION_NUM < 10204)
|
||||||
pack.set_bool(lt::settings_pack::upnp_ignore_nonrouters, true);
|
pack.set_bool(lt::settings_pack::upnp_ignore_nonrouters, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (LIBTORRENT_VERSION_NUM < 10200)
|
#if (LIBTORRENT_VERSION_NUM < 10200)
|
||||||
// Disable support for SSL torrents for now
|
// Disable support for SSL torrents for now
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue