[Pkg-owncloud-commits] [owncloud-client] 117/219: SelectiveSyncDialog: Fix sync-nothing case. #2219
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:16 UTC 2014
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 e395282e0ec4a732b0725c6068bd160478783ec5
Author: Christian Kamm <kamm at incasoftware.de>
Date: Wed Sep 17 16:13:47 2014 +0200
SelectiveSyncDialog: Fix sync-nothing case. #2219
---
src/mirall/selectivesyncdialog.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mirall/selectivesyncdialog.cpp b/src/mirall/selectivesyncdialog.cpp
index 081cfdb..f112def 100644
--- a/src/mirall/selectivesyncdialog.cpp
+++ b/src/mirall/selectivesyncdialog.cpp
@@ -111,6 +111,8 @@ void SelectiveSyncTreeView::slotUpdateDirectories(const QStringList&list)
root->setData(0, Qt::UserRole, QString());
if (_oldBlackList.isEmpty()) {
root->setCheckState(0, Qt::Checked);
+ } else if (_oldBlackList.contains("")) {
+ root->setCheckState(0, Qt::Unchecked);
} else {
root->setCheckState(0, Qt::PartiallyChecked);
}
--
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