forked from qt-creator/qt-creator
don't mess up report about failures when removing multiple files
This commit is contained in:
@@ -699,10 +699,9 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
|
||||
ProItem *item = values.at(i);
|
||||
if (item->kind() == ProItem::ValueKind) {
|
||||
ProValue *val = static_cast<ProValue *>(item);
|
||||
int index = relativeFilePaths.indexOf(val->value());
|
||||
if (index != -1) {
|
||||
if (relativeFilePaths.contains(val->value())) {
|
||||
notChanged->removeOne(priFileDir.absoluteFilePath(val->value()));
|
||||
delete values.takeAt(i);
|
||||
notChanged->removeAt(index);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user