shared: IndexSyncer: Check whether file is located in a mountpath

This commit is contained in:
Albert S. 2022-06-05 20:55:06 +02:00
父節點 61a446ec2d
當前提交 61fa7ca16d
共有 1 個檔案被更改,包括 5 行新增0 行删除

查看文件

@ -55,6 +55,11 @@ void IndexSyncer::sync()
emit finished(totalUpdatesFilesCount, totalDeletedFilesCount, totalErroredFilesCount);
return;
}
if(Common::isMountPath(fileData.absPath))
{
continue;
}
QFileInfo fileInfo(fileData.absPath);
if(fileInfo.exists())
{