From: Christian Kamm Date: Mon, 12 Nov 2018 10:27:09 +0000 (+0100) Subject: Fix big-folder detection when vfs is disabled X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~404 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e39d751b59b01fa3efe36fcb1fbf7f49edf2a9ed;p=nextcloud-desktop.git Fix big-folder detection when vfs is disabled --- diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index 8d3b7c515..e845c352d 100644 --- a/src/libsync/discoveryphase.cpp +++ b/src/libsync/discoveryphase.cpp @@ -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); }