Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
if (bname.startsWith(QLatin1String(".owncloudsync.log"), Qt::CaseInsensitive)) { // ".owncloudsync.log*"
return CSYNC_FILE_SILENTLY_EXCLUDED;
}
+ if (bname.startsWith(QLatin1String(".nextcloudsync.log"), Qt::CaseInsensitive)) { // ".nextcloudsync.log*"
+ return CSYNC_FILE_SILENTLY_EXCLUDED;
+ }
}
// check the strlen and ignore the file if its name is longer than 254 chars.
connect(_folderWatcher.data(), &FolderWatcher::becameUnreliable,
this, &Folder::slotWatcherUnreliable);
_folderWatcher->init(path());
- _folderWatcher->startNotificatonTest(path() + QLatin1String(".owncloudsync.log"));
+ _folderWatcher->startNotificatonTest(path() + QLatin1String(".nextcloudsync.log"));
}
bool Folder::virtualFilesEnabled() const