mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-27 15:04:36 +00:00
parent
846d8993a9
commit
c10d237f7a
@ -1358,7 +1358,6 @@ void OptionsDialog::toggleComboRatioLimitAct()
|
|||||||
void OptionsDialog::enableForceProxy(bool enable)
|
void OptionsDialog::enableForceProxy(bool enable)
|
||||||
{
|
{
|
||||||
m_ui->checkUPnP->setEnabled(!enable);
|
m_ui->checkUPnP->setEnabled(!enable);
|
||||||
m_ui->checkDHT->setEnabled(!enable);
|
|
||||||
m_ui->checkLSD->setEnabled(!enable);
|
m_ui->checkLSD->setEnabled(!enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -660,7 +660,6 @@
|
|||||||
updateForceProxySettings = function() {
|
updateForceProxySettings = function() {
|
||||||
var isForceProxyEnabled = (!$('force_proxy_checkbox').getProperty('disabled')) && ($('force_proxy_checkbox').getProperty('checked'));
|
var isForceProxyEnabled = (!$('force_proxy_checkbox').getProperty('disabled')) && ($('force_proxy_checkbox').getProperty('checked'));
|
||||||
$('upnp_checkbox').setProperty('disabled', isForceProxyEnabled);
|
$('upnp_checkbox').setProperty('disabled', isForceProxyEnabled);
|
||||||
$('dht_checkbox').setProperty('disabled', isForceProxyEnabled);
|
|
||||||
$('lsd_checkbox').setProperty('disabled', isForceProxyEnabled);
|
$('lsd_checkbox').setProperty('disabled', isForceProxyEnabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user