shared: FileSaver: Return NOACCESS when no read access

Este commit está contenido en:
Albert S. 2022-06-23 15:25:49 +02:00
padre e99b2ba091
commit 9fd48d4664
Se han modificado 1 ficheros con 5 adiciones y 0 borrados

Ver fichero

@ -100,6 +100,11 @@ SaveFileResult FileSaver::saveFile(const QFileInfo &fileInfo)
int status = -1;
if(!fileInfo.isReadable())
{
return NOACCESS;
}
if(!fileInfo.exists())
{
return NOTFOUND;