mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-09 20:01:08 +00:00
- Small fix for proxy options
This commit is contained in:
parent
f4d5ceb3c4
commit
b3de2ccc72
@ -454,6 +454,7 @@ void options_imp::loadOptions(){
|
|||||||
spinUploadLimit->setEnabled(false);
|
spinUploadLimit->setEnabled(false);
|
||||||
}
|
}
|
||||||
intValue = settings.value(QString::fromUtf8("ProxyType"), 0).toInt();
|
intValue = settings.value(QString::fromUtf8("ProxyType"), 0).toInt();
|
||||||
|
if(intValue < 0) intValue = 0;
|
||||||
comboProxyType->setCurrentIndex(intValue);
|
comboProxyType->setCurrentIndex(intValue);
|
||||||
enableProxy(intValue);
|
enableProxy(intValue);
|
||||||
if(isProxyEnabled()) {
|
if(isProxyEnabled()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user