mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 22:03:27 -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("ShareRatio", getRatio());
|
||||
settings.setValue("DHTPort", getDHTPort());
|
||||
settings.setValue("PeXState", isPeXDisabled());
|
||||
settings.setValue("PeXState", !isPeXDisabled());
|
||||
settings.setValue("ScanDir", getScanDir());
|
||||
// End Main options
|
||||
settings.endGroup();
|
||||
|
@ -313,7 +313,7 @@ void options_imp::loadOptions(){
|
|||
spin_dht_port->setValue(value);
|
||||
}
|
||||
boolValue = settings.value("PeXState", 0).toBool();
|
||||
if(boolValue){
|
||||
if(!boolValue){
|
||||
// Pex disabled
|
||||
disablePeX->setChecked(true);
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue