- Fixed unlimited download limit problem (trayicon)

This commit is contained in:
Christophe Dumez
2008-03-14 20:55:37 +00:00
parent 45c2044634
commit 755a5a4aa7

View File

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