[Pkg-owncloud-commits] [owncloud-client] 140/498: AccountSettings: fix selective sync checking

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 5ab20e64bfcd11c671d96f78bce17dbae1dd1a8c
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed Jun 10 17:00:08 2015 +0200

    AccountSettings: fix selective sync checking
    
    We need to set the root item to partially checked in case there
    is some folders in the blacklist
    
    The root item do not have checkmark so it is good
---
 src/gui/folderstatusmodel.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp
index 24351c9..256a9a1 100644
--- a/src/gui/folderstatusmodel.cpp
+++ b/src/gui/folderstatusmodel.cpp
@@ -54,6 +54,7 @@ void FolderStatusModel::setAccount(const AccountPtr& account)
         info._name = f->alias();
         info._path = "/";
         info._folder = f;
+        info._checked = Qt::PartiallyChecked;
         _folders << info;
 
         connect(f, SIGNAL(progressInfo(ProgressInfo)), this, SLOT(slotSetProgress(ProgressInfo)), Qt::UniqueConnection);

-- 
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