Fix big-folder detection when vfs is disabled

This commit is contained in:
Christian Kamm 2018-11-12 11:27:09 +01:00 committed by Kevin Ottens
parent bee1b0edd4
commit e39d751b59
No known key found for this signature in database
GPG Key ID: 074BBBCB8DECC9E2

View File

@ -100,7 +100,7 @@ void DiscoveryPhase::checkSelectiveSyncNewFolder(const QString &path, RemotePerm
}
auto limit = _syncOptions._newBigFolderSizeLimit;
if (limit < 0 || !_syncOptions._vfs) {
if (limit < 0 || _syncOptions._vfs) {
// no limit, everything is allowed;
return callback(false);
}