Browse Source

- Fixed unlimited download limit problem (trayicon)

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
8422cb395a
  1. 2
      src/options_imp.cpp

2
src/options_imp.cpp

@ -448,7 +448,7 @@ void options_imp::loadOptions(){
checkUPnP->setChecked(settings.value(QString::fromUtf8("UPnP"), true).toBool()); checkUPnP->setChecked(settings.value(QString::fromUtf8("UPnP"), true).toBool());
checkNATPMP->setChecked(settings.value(QString::fromUtf8("NAT-PMP"), true).toBool()); checkNATPMP->setChecked(settings.value(QString::fromUtf8("NAT-PMP"), true).toBool());
intValue = settings.value(QString::fromUtf8("GlobalDLLimit"), -1).toInt(); intValue = settings.value(QString::fromUtf8("GlobalDLLimit"), -1).toInt();
if(intValue != -1) { if(intValue > 0) {
// Enabled // Enabled
checkDownloadLimit->setChecked(true); checkDownloadLimit->setChecked(true);
spinDownloadLimit->setEnabled(true); spinDownloadLimit->setEnabled(true);

Loading…
Cancel
Save