mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
parent
0ccaae9a22
commit
45b598cacb
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue