From 755a5a4aa74a701e63b836db39b755fe1e94527d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 14 Mar 2008 20:55:37 +0000 Subject: [PATCH] - Fixed unlimited download limit problem (trayicon) --- src/options_imp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options_imp.cpp b/src/options_imp.cpp index 96ac8d95e..1855449c9 100644 --- a/src/options_imp.cpp +++ b/src/options_imp.cpp @@ -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);