|
|
@ -628,6 +628,7 @@ void options_imp::loadOptions() { |
|
|
|
spinPort->setValue(pref.getSessionPort()); |
|
|
|
spinPort->setValue(pref.getSessionPort()); |
|
|
|
checkUPnP->setChecked(pref.isUPnPEnabled()); |
|
|
|
checkUPnP->setChecked(pref.isUPnPEnabled()); |
|
|
|
checkRandomPort->setChecked(pref.useRandomPort()); |
|
|
|
checkRandomPort->setChecked(pref.useRandomPort()); |
|
|
|
|
|
|
|
spinPort->setDisabled(checkRandomPort->isChecked()); |
|
|
|
intValue = pref.getGlobalDownloadLimit(); |
|
|
|
intValue = pref.getGlobalDownloadLimit(); |
|
|
|
if (intValue > 0) { |
|
|
|
if (intValue > 0) { |
|
|
|
// Enabled
|
|
|
|
// Enabled
|
|
|
|