Commit 95a9b64c authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

don't mess up report about failures when removing multiple files

parent 69028643
......@@ -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);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment