Commit 1d47cf09 authored by Laurent Montel's avatar Laurent Montel 😁

Use for(...:...)

parent 0d57181b
......@@ -61,7 +61,7 @@ public:
mId = other.mId;
mRemoteId = other.mRemoteId;
mRemoteRevision = other.mRemoteRevision;
Q_FOREACH (Attribute *attr, other.mAttributes) {
for (Attribute *attr : qAsConst(other.mAttributes)) {
mAttributes.insert(attr->type(), attr->clone());
}
mDeletedAttributes = other.mDeletedAttributes;
......
Markdown is supported
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