|
|
@ -454,6 +454,10 @@ |
|
|
|
<input type="checkbox" id="limit_tcp_overhead_checkbox" /> |
|
|
|
<input type="checkbox" id="limit_tcp_overhead_checkbox" /> |
|
|
|
<label for="limit_tcp_overhead_checkbox">QBT_TR(Apply rate limit to transport overhead)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
<label for="limit_tcp_overhead_checkbox">QBT_TR(Apply rate limit to transport overhead)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="formRow"> |
|
|
|
|
|
|
|
<input type="checkbox" id="limit_lan_peers_checkbox" /> |
|
|
|
|
|
|
|
<label for="limit_lan_peers_checkbox">QBT_TR(Apply rate limit to peers on LAN)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
|
|
|
|
</div> |
|
|
|
</fieldset> |
|
|
|
</fieldset> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -1211,6 +1215,7 @@ |
|
|
|
$('enable_protocol_combobox').setProperty('value', pref.bittorrent_protocol); |
|
|
|
$('enable_protocol_combobox').setProperty('value', pref.bittorrent_protocol); |
|
|
|
$('limit_utp_rate_checkbox').setProperty('checked', pref.limit_utp_rate); |
|
|
|
$('limit_utp_rate_checkbox').setProperty('checked', pref.limit_utp_rate); |
|
|
|
$('limit_tcp_overhead_checkbox').setProperty('checked', pref.limit_tcp_overhead); |
|
|
|
$('limit_tcp_overhead_checkbox').setProperty('checked', pref.limit_tcp_overhead); |
|
|
|
|
|
|
|
$('limit_lan_peers_checkbox').setProperty('checked', pref.limit_lan_peers); |
|
|
|
|
|
|
|
|
|
|
|
// Scheduling |
|
|
|
// Scheduling |
|
|
|
$('limit_sheduling_checkbox').setProperty('checked', pref.scheduler_enabled); |
|
|
|
$('limit_sheduling_checkbox').setProperty('checked', pref.scheduler_enabled); |
|
|
@ -1473,6 +1478,7 @@ |
|
|
|
settings.set('bittorrent_protocol', $('enable_protocol_combobox').getProperty('value')); |
|
|
|
settings.set('bittorrent_protocol', $('enable_protocol_combobox').getProperty('value')); |
|
|
|
settings.set('limit_utp_rate', $('limit_utp_rate_checkbox').getProperty('checked')); |
|
|
|
settings.set('limit_utp_rate', $('limit_utp_rate_checkbox').getProperty('checked')); |
|
|
|
settings.set('limit_tcp_overhead', $('limit_tcp_overhead_checkbox').getProperty('checked')); |
|
|
|
settings.set('limit_tcp_overhead', $('limit_tcp_overhead_checkbox').getProperty('checked')); |
|
|
|
|
|
|
|
settings.set('limit_lan_peers', $('limit_lan_peers_checkbox').getProperty('checked')); |
|
|
|
|
|
|
|
|
|
|
|
// Scheduler |
|
|
|
// Scheduler |
|
|
|
var scheduling_enabled = $('limit_sheduling_checkbox').getProperty('checked'); |
|
|
|
var scheduling_enabled = $('limit_sheduling_checkbox').getProperty('checked'); |
|
|
|