1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 01:44:26 +00:00

- Fixed unlimited download limit problem (trayicon)

This commit is contained in:
Christophe Dumez 2008-03-14 20:54:02 +00:00
parent 313b9b9bc0
commit 8422cb395a

View File

@ -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);