From 0fcbcd0dcd6426a2a75f8045c76ed0d1deab3304 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 28 Nov 2010 21:12:42 +0000 Subject: [PATCH] Fix to advanced properties --- src/qtlibtorrent/qbtsession.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index c6c9121e8..3c7e873cb 100644 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -415,6 +415,10 @@ void QBtSession::configureSession() { sessionSettings.ignore_limits_on_local_network = pref.ignoreLimitsOnLAN(); // Include overhead in transfer limits sessionSettings.rate_limit_ip_overhead = pref.includeOverheadInLimits(); + // Super seeding +#if LIBTORRENT_VERSION_MINOR > 14 + sessionSettings.strict_super_seeding = pref.isSuperSeedingEnabled(); +#endif setSessionSettings(sessionSettings); // Bittorrent // * Max Half-open connections