Check if there are patterns associated with a sync exclude file.
authorCamila <hello@camila.codes>
Tue, 27 Oct 2020 17:59:05 +0000 (18:59 +0100)
committerCamila <hello@camila.codes>
Thu, 26 Nov 2020 11:12:04 +0000 (12:12 +0100)
commitbdd3465e7b3368d04358247c779ef2b47bb116c4
treeb44cbec79fdf216a254feb9d0c1cd21d63644b93
parent998e93ac1360d65f734a83c4754676908f9a2927
Check if there are patterns associated with a sync exclude file.

The previous check didn't take into the account that .sync-exclude.lst
might be empty which would crash at Q_ASSERT(_allExcludes.contains(basePath))
in the prepare function. It also takes into account that
_allExcludes[basePath] was creating new items in the list.

Signed-off-by: Camila <hello@camila.codes>
src/csync/csync_exclude.cpp