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

Этот коммит содержится в:
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())
{