Resurrect the display of subfolders for VFS sync folders
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 9 Dec 2020 15:54:49 +0000 (16:54 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:24 +0000 (10:59 +0100)
commit70c2dc70a1257c77dafb30dcd58366125a5405e9
treed17f27bbbdaa75617a13245485bc3fe1dc6e20e8
parent9f0e0b0f6abc3f4434d863413f0f27734ae84fdf
Resurrect the display of subfolders for VFS sync folders

This got removed from the settings since in that case selective sync
isn't supported. Unfortunately that's also necessary to display them to
allow encrypting folders via the context menu.

So we display the subfolders again but in the case of VFS we disable the
ability to (un)check them. They just have an icon, a name and a context
menu.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/folderstatusmodel.cpp