forked from qt-creator/qt-creator
QmlDesigner: use initializer lists
Change-Id: Ie93861c7d8a5b2863ec8b111afceacc2c163715b Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
@@ -70,7 +70,8 @@ void LayoutNodeInstance::refreshLayoutable()
|
||||
|
||||
PropertyNameList LayoutNodeInstance::ignoredProperties() const
|
||||
{
|
||||
return PropertyNameList() << "move" << "add" << "populate";
|
||||
static const PropertyNameList properties({"move", "add", "populate"});
|
||||
return properties;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user