Browse Source

WebUI: remove unused/deprecated option

Fixup 8200ef6
Remove "Listen on IPv6 address" option.
adaptive-webui-19844
FranciscoPombal 5 years ago
parent
commit
e693fdeaf9
  1. 10
      src/webui/www/private/views/preferences.html

10
src/webui/www/private/views/preferences.html

@ -837,14 +837,6 @@
</select> </select>
</td> </td>
</tr> </tr>
<tr>
<td>
<label for="listenOnIPv6Address">QBT_TR(Listen on IPv6 address (requires restart):)QBT_TR[CONTEXT=OptionsDialog]</label>
</td>
<td>
<input type="checkbox" id="listenOnIPv6Address">
</td>
</tr>
<tr> <tr>
<td> <td>
<label for="saveResumeDataInterval">QBT_TR(Save resume data interval:)QBT_TR[CONTEXT=OptionsDialog]</label> <label for="saveResumeDataInterval">QBT_TR(Save resume data interval:)QBT_TR[CONTEXT=OptionsDialog]</label>
@ -1732,7 +1724,6 @@
// qBittorrent section // qBittorrent section
updateNetworkInterfaces(pref.current_network_interface); updateNetworkInterfaces(pref.current_network_interface);
updateInterfaceAddresses(pref.current_network_interface, pref.current_interface_address); updateInterfaceAddresses(pref.current_network_interface, pref.current_interface_address);
$('listenOnIPv6Address').setProperty('checked', pref.listen_on_ipv6_address);
$('saveResumeDataInterval').setProperty('value', pref.save_resume_data_interval); $('saveResumeDataInterval').setProperty('value', pref.save_resume_data_interval);
$('recheckTorrentsOnCompletion').setProperty('checked', pref.recheck_completed_torrents); $('recheckTorrentsOnCompletion').setProperty('checked', pref.recheck_completed_torrents);
$('resolvePeerCountries').setProperty('checked', pref.resolve_peer_countries); $('resolvePeerCountries').setProperty('checked', pref.resolve_peer_countries);
@ -2095,7 +2086,6 @@
// qBittorrent section // qBittorrent section
settings.set('current_network_interface', $('networkInterface').getProperty('value')); settings.set('current_network_interface', $('networkInterface').getProperty('value'));
settings.set('current_interface_address', $('optionalIPAddressToBind').getProperty('value')); settings.set('current_interface_address', $('optionalIPAddressToBind').getProperty('value'));
settings.set('listen_on_ipv6_address', $('listenOnIPv6Address').getProperty('checked'));
settings.set('save_resume_data_interval', $('saveResumeDataInterval').getProperty('value')); settings.set('save_resume_data_interval', $('saveResumeDataInterval').getProperty('value'));
settings.set('recheck_completed_torrents', $('recheckTorrentsOnCompletion').getProperty('checked')); settings.set('recheck_completed_torrents', $('recheckTorrentsOnCompletion').getProperty('checked'));
settings.set('resolve_peer_countries', $('resolvePeerCountries').getProperty('checked')); settings.set('resolve_peer_countries', $('resolvePeerCountries').getProperty('checked'));

Loading…
Cancel
Save