CommandDelete: Bugfix: Deleted existing instead of non-existing files
Šī revīzija ir iekļauta:
vecāks
326c12ca80
revīzija
8b999ed4f7
@ -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))
|
||||
{
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user