From 5ab20e64bfcd11c671d96f78bce17dbae1dd1a8c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 10 Jun 2015 17:00:08 +0200 Subject: [PATCH] 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 24351c94c..256a9a1ef 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);