CommandDelete: Bugfix: Deleted existing instead of non-existing files
Tento commit je obsažen v:
rodič
95a650dd30
revize
6ac7c199fb
@ -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))
|
||||
{
|
||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele