mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 23:17:13 +03:00
Confirm: Set the limit to 100MB
TODO: make this configurable
This commit is contained in:
parent
cc3543dbd2
commit
53f2468430
1 changed files with 2 additions and 0 deletions
|
@ -818,6 +818,8 @@ void Folder::startSync(const QStringList &pathList)
|
|||
|
||||
setDirtyNetworkLimits();
|
||||
|
||||
_engine->setNewSharedFolderSizeLimit(100 * 1000); // 100MB limit by default FIXME! do not hardcode
|
||||
|
||||
QMetaObject::invokeMethod(_engine.data(), "startSync", Qt::QueuedConnection);
|
||||
|
||||
// disable events until syncing is done
|
||||
|
|
Loading…
Reference in a new issue