mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 23:17:13 +03:00
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
This commit is contained in:
parent
e9e11d251f
commit
5ab20e64bf
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ void FolderStatusModel::setAccount(const AccountPtr& account)
|
||||||
info._name = f->alias();
|
info._name = f->alias();
|
||||||
info._path = "/";
|
info._path = "/";
|
||||||
info._folder = f;
|
info._folder = f;
|
||||||
|
info._checked = Qt::PartiallyChecked;
|
||||||
_folders << info;
|
_folders << info;
|
||||||
|
|
||||||
connect(f, SIGNAL(progressInfo(ProgressInfo)), this, SLOT(slotSetProgress(ProgressInfo)), Qt::UniqueConnection);
|
connect(f, SIGNAL(progressInfo(ProgressInfo)), this, SLOT(slotSetProgress(ProgressInfo)), Qt::UniqueConnection);
|
||||||
|
|
Loading…
Reference in a new issue