forked from qt-creator/qt-creator
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:
@@ -332,6 +332,8 @@ FileUtils::CopyHelper FileUtils::CopyAskingForOverwrite::operator()()
|
||||
}
|
||||
if (copyFile)
|
||||
dest.removeFile();
|
||||
} else {
|
||||
dest.removeFile();
|
||||
}
|
||||
}
|
||||
if (copyFile) {
|
||||
|
Reference in New Issue
Block a user