1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Fix for 0.0

This commit is contained in:
Christophe Dumez 2010-07-14 08:00:21 +00:00
parent 6223514704
commit f242fce5fd

View File

@ -783,7 +783,7 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
comboEncryption->setCurrentIndex(Preferences::getEncryptionSetting());
// Ratio limit
floatValue = Preferences::getMaxRatio();
if(floatValue > 0.) {
if(floatValue >= 0.) {
// Enable
checkMaxRatio->setChecked(true);
spinMaxRatio->setEnabled(true);