[Pkg-owncloud-commits] [owncloud-client] 143/498: Confirm: Set the limit to 100MB
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 53f2468430907b96542b3ab5f43dd5a1c203bcd9
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Jun 11 15:54:39 2015 +0200
Confirm: Set the limit to 100MB
TODO: make this configurable
---
src/gui/folder.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 3ac5dd6..b10e489 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list