|
|
@ -469,7 +469,7 @@ void options_imp::saveOptions() |
|
|
|
pref->setEncryptionSetting(getEncryptionSetting()); |
|
|
|
pref->setEncryptionSetting(getEncryptionSetting()); |
|
|
|
pref->enableAnonymousMode(checkAnonymousMode->isChecked()); |
|
|
|
pref->enableAnonymousMode(checkAnonymousMode->isChecked()); |
|
|
|
pref->setGlobalMaxRatio(getMaxRatio()); |
|
|
|
pref->setGlobalMaxRatio(getMaxRatio()); |
|
|
|
pref->setMaxRatioAction(comboRatioLimitAct->currentIndex()); |
|
|
|
pref->setMaxRatioAction(static_cast<MaxRatioAction>(comboRatioLimitAct->currentIndex())); |
|
|
|
// End Bittorrent preferences
|
|
|
|
// End Bittorrent preferences
|
|
|
|
// Misc preferences
|
|
|
|
// Misc preferences
|
|
|
|
// * IPFilter
|
|
|
|
// * IPFilter
|
|
|
@ -804,7 +804,7 @@ void options_imp::loadOptions() |
|
|
|
spinMaxRatio->setEnabled(false); |
|
|
|
spinMaxRatio->setEnabled(false); |
|
|
|
comboRatioLimitAct->setEnabled(false); |
|
|
|
comboRatioLimitAct->setEnabled(false); |
|
|
|
} |
|
|
|
} |
|
|
|
comboRatioLimitAct->setCurrentIndex(pref->getMaxRatioAction()); |
|
|
|
comboRatioLimitAct->setCurrentIndex(static_cast<int>(pref->getMaxRatioAction())); |
|
|
|
// End Bittorrent preferences
|
|
|
|
// End Bittorrent preferences
|
|
|
|
|
|
|
|
|
|
|
|
// Web UI preferences
|
|
|
|
// Web UI preferences
|
|
|
|