Confirm feature: default to 500MB

Issue #3148
This commit is contained in:
Olivier Goffart 2015-07-27 10:04:53 +02:00
parent 0ccaae9a22
commit 45b598cacb

View file

@ -573,7 +573,7 @@ void ConfigFile::setDownloadLimit(int kbytes)
QPair<bool, quint64> ConfigFile::newBigFolderSizeLimit() const
{
qint64 value = getValue(newBigFolderSizeLimitC, QString(), 100).toLongLong();
qint64 value = getValue(newBigFolderSizeLimitC, QString(), 500).toLongLong(); // Default to 500MB
bool use = value >= 0 && getValue(useNewBigFolderSizeLimitC, QString(), true).toBool();
return qMakePair(use, quint64(qMax<qint64>(0, value)));
}