Browse Source

Fix to advanced properties

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
0fcbcd0dcd
  1. 4
      src/qtlibtorrent/qbtsession.cpp

4
src/qtlibtorrent/qbtsession.cpp

@ -415,6 +415,10 @@ void QBtSession::configureSession() {
sessionSettings.ignore_limits_on_local_network = pref.ignoreLimitsOnLAN(); sessionSettings.ignore_limits_on_local_network = pref.ignoreLimitsOnLAN();
// Include overhead in transfer limits // Include overhead in transfer limits
sessionSettings.rate_limit_ip_overhead = pref.includeOverheadInLimits(); sessionSettings.rate_limit_ip_overhead = pref.includeOverheadInLimits();
// Super seeding
#if LIBTORRENT_VERSION_MINOR > 14
sessionSettings.strict_super_seeding = pref.isSuperSeedingEnabled();
#endif
setSessionSettings(sessionSettings); setSessionSettings(sessionSettings);
// Bittorrent // Bittorrent
// * Max Half-open connections // * Max Half-open connections

Loading…
Cancel
Save