shared: IndexSyncer: Check whether file is located in a mountpath
This commit is contained in:
parent
61a446ec2d
commit
61fa7ca16d
@ -55,6 +55,11 @@ void IndexSyncer::sync()
|
|||||||
emit finished(totalUpdatesFilesCount, totalDeletedFilesCount, totalErroredFilesCount);
|
emit finished(totalUpdatesFilesCount, totalDeletedFilesCount, totalErroredFilesCount);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(Common::isMountPath(fileData.absPath))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
QFileInfo fileInfo(fileData.absPath);
|
QFileInfo fileInfo(fileData.absPath);
|
||||||
if(fileInfo.exists())
|
if(fileInfo.exists())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user