mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-24 07:05:25 -07:00
- fixed a typo in option_imp
This commit is contained in:
parent
e0213dc6c3
commit
14f13d0406
1 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ void options_imp::saveOptions(){
|
||||||
settings.setValue("PortRangeMax", getPorts().second);
|
settings.setValue("PortRangeMax", getPorts().second);
|
||||||
settings.setValue("ShareRatio", getRatio());
|
settings.setValue("ShareRatio", getRatio());
|
||||||
settings.setValue("DHTPort", getDHTPort());
|
settings.setValue("DHTPort", getDHTPort());
|
||||||
settings.setValue("PeXState", isPeXDisabled());
|
settings.setValue("PeXState", !isPeXDisabled());
|
||||||
settings.setValue("ScanDir", getScanDir());
|
settings.setValue("ScanDir", getScanDir());
|
||||||
// End Main options
|
// End Main options
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
@ -313,7 +313,7 @@ void options_imp::loadOptions(){
|
||||||
spin_dht_port->setValue(value);
|
spin_dht_port->setValue(value);
|
||||||
}
|
}
|
||||||
boolValue = settings.value("PeXState", 0).toBool();
|
boolValue = settings.value("PeXState", 0).toBool();
|
||||||
if(boolValue){
|
if(!boolValue){
|
||||||
// Pex disabled
|
// Pex disabled
|
||||||
disablePeX->setChecked(true);
|
disablePeX->setChecked(true);
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue