|
|
@ -360,8 +360,9 @@ void options_imp::saveOptions(){ |
|
|
|
pref.setSessionPort(getPort()); |
|
|
|
pref.setSessionPort(getPort()); |
|
|
|
pref.setUPnPEnabled(isUPnPEnabled()); |
|
|
|
pref.setUPnPEnabled(isUPnPEnabled()); |
|
|
|
pref.setNATPMPEnabled(isNATPMPEnabled()); |
|
|
|
pref.setNATPMPEnabled(isNATPMPEnabled()); |
|
|
|
pref.setGlobalDownloadLimit(getGlobalBandwidthLimits().first); |
|
|
|
const QPair<int, int> down_up_limit = getGlobalBandwidthLimits(); |
|
|
|
pref.setGlobalUploadLimit(getGlobalBandwidthLimits().second); |
|
|
|
pref.setGlobalDownloadLimit(down_up_limit.first); |
|
|
|
|
|
|
|
pref.setGlobalUploadLimit(down_up_limit.second); |
|
|
|
pref.setAltGlobalDownloadLimit(spinDownloadLimitAlt->value()); |
|
|
|
pref.setAltGlobalDownloadLimit(spinDownloadLimitAlt->value()); |
|
|
|
pref.setAltGlobalUploadLimit(spinUploadLimitAlt->value()); |
|
|
|
pref.setAltGlobalUploadLimit(spinUploadLimitAlt->value()); |
|
|
|
pref.setSchedulerEnabled(check_schedule->isChecked()); |
|
|
|
pref.setSchedulerEnabled(check_schedule->isChecked()); |
|
|
|