nextcloud-desktop/src
Jocelyn Turcotte efb6b8c2c9 [overlays] Fix folders appearing as OK even though children are still syncing #4797
This would happen if the directory would first need to be created
through an mkdir propagation job. This job's itemCompleted signal
would trigger the directory to show as SYNC even though its children
are still propagating.

Fix the issue by tracking the sync count for each file, affecting
its parents. This allows us to get rid of the O(n) vector lookup
for each status query, and properly track the hierachical sync
status of a directory.

This also removes the itemCompleted signal emission from the
PropagateDirectory job. Since we only needed for overlay icons, and
since this job doesn't do any direct propagation, we can remove it
to ensure that we won't call itemCompleted twice for the item attached
to Propagate*Mkdir jobs (since the PropagateDirectory is backed by
the same SyncFileItem, instruction and status).
2016-08-17 15:40:02 +02:00
..
3rdparty sqlite: Update bundled version to 3.13.0 2016-05-24 17:27:31 +02:00
cmd owncloudcmd: Make source_dir absolute #5035 2016-07-05 15:40:32 +02:00
crashreporter cmd and crashreporter minor typos 2015-09-10 17:34:26 +05:45
gui csync: Use an explicit instruction for should_update_metadata 2016-08-17 15:39:31 +02:00
libsync [overlays] Fix folders appearing as OK even though children are still syncing #4797 2016-08-17 15:40:02 +02:00
CMakeLists.txt CMakeLists: move QtKeychain detection in client 2016-04-12 14:43:26 +02:00