CommandDelete: Bugfix: Deleted existing instead of non-existing files

This commit is contained in:
Albert S. 2019-04-22 21:08:31 +02:00
orang tua 95a650dd30
melakukan 6ac7c199fb

Melihat File

@ -20,7 +20,7 @@ int CommandDelete::removeNonExistent(bool verbose, bool dryRun, QString pattern)
if(!dryRun)
{
QFileInfo fileInfo(file.absPath);
if(fileInfo.exists())
if(!fileInfo.exists())
{
if(this->dbService->deleteFile(file.absPath))
{