Utils: Fix CopyAskingForOverwrite

When User selects "Yes to All", only the first dest was deleted.

Change-Id: Iecaca8783791687e0172abb5767a19891b5242c8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-09-11 15:04:12 +02:00
parent 7b08a81316
commit 296c62b512

View File

@@ -332,6 +332,8 @@ FileUtils::CopyHelper FileUtils::CopyAskingForOverwrite::operator()()
}
if (copyFile)
dest.removeFile();
} else {
dest.removeFile();
}
}
if (copyFile) {