mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Fixed compilation with libtorrent 0.15.x
This commit is contained in:
parent
b32a68318c
commit
9ff7eab83b
@ -477,9 +477,9 @@ void QBtSession::configureSession() {
|
|||||||
sessionSettings.mixed_mode_algorithm = session_settings::prefer_tcp;
|
sessionSettings.mixed_mode_algorithm = session_settings::prefer_tcp;
|
||||||
else
|
else
|
||||||
sessionSettings.mixed_mode_algorithm = session_settings::peer_proportional;
|
sessionSettings.mixed_mode_algorithm = session_settings::peer_proportional;
|
||||||
#endif
|
|
||||||
sessionSettings.seed_choking_algorithm = session_settings::fastest_upload;
|
sessionSettings.seed_choking_algorithm = session_settings::fastest_upload;
|
||||||
sessionSettings.connection_speed = 20; //default is 10
|
sessionSettings.connection_speed = 20; //default is 10
|
||||||
|
#endif
|
||||||
qDebug() << "Settings SessionSettings";
|
qDebug() << "Settings SessionSettings";
|
||||||
setSessionSettings(sessionSettings);
|
setSessionSettings(sessionSettings);
|
||||||
// Bittorrent
|
// Bittorrent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user