fixup! shared: FileSaver: addFile(): Consider fillExistingContentless

Este commit está contenido en:
Albert S. 2023-04-02 18:38:07 +02:00
padre ed4228326e
commit d8a205fbe5

Ver fichero

@ -146,10 +146,7 @@ SaveFileResult FileSaver::saveFile(const QFileInfo &fileInfo)
if(mustFillContent)
{
auto filetype = this->dbService->queryFileType(fileInfo.absolutePath());
if(filetype)
{
mustFillContent = filetype.value() == 'c';
}
mustFillContent = !filetype.has_value() || filetype.value() == 'c';
}
}