mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Some bug fixes (Proxy)
This commit is contained in:
@@ -470,7 +470,15 @@ void options_imp::loadOptions(){
|
||||
spinUploadLimit->setEnabled(false);
|
||||
}
|
||||
intValue = settings.value(QString::fromUtf8("ProxyType"), 0).toInt();
|
||||
if(intValue < 0) intValue = 0;
|
||||
if(intValue <= 0) {
|
||||
intValue = 0;
|
||||
} else {
|
||||
if(intValue%2 == 0) {
|
||||
intValue = 2;
|
||||
}else {
|
||||
intValue = 1;
|
||||
}
|
||||
}
|
||||
comboProxyType->setCurrentIndex(intValue);
|
||||
enableProxy(intValue);
|
||||
if(isProxyEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user