QmlDesigner: use initilizer_lists for pairs

Change-Id: I3a1ef67d8af255604494695807331576540b8afa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tim Jenssen
2017-04-26 13:17:14 +02:00
parent edbaea4f60
commit a991ecec95
10 changed files with 35 additions and 38 deletions

View File

@@ -253,7 +253,7 @@ bool ObjectNodeInstance::isAnchoredByChildren() const
QPair<PropertyName, ServerNodeInstance> ObjectNodeInstance::anchor(const PropertyName &/*name*/) const
{
return qMakePair(PropertyName(), ServerNodeInstance());
return {PropertyName(), ServerNodeInstance()};
}