diff --git a/core/aggregatedpropertymodel.cpp b/core/aggregatedpropertymodel.cpp index b2c6b58afc..3488fc6ece 100644 --- a/core/aggregatedpropertymodel.cpp +++ b/core/aggregatedpropertymodel.cpp @@ -359,7 +359,7 @@ void AggregatedPropertyModel::addPropertyAdaptor(PropertyAdaptor *adaptor) const QVector children; children.resize(adaptor->count()); - m_parentChildrenMap.insert({ adaptor, children }); + m_parentChildrenMap[adaptor] = children; connect(adaptor, &PropertyAdaptor::propertyChanged, this, &AggregatedPropertyModel::propertyChanged); connect(adaptor, &PropertyAdaptor::propertyAdded, this, &AggregatedPropertyModel::propertyAdded); connect(adaptor, &PropertyAdaptor::propertyRemoved, this, &AggregatedPropertyModel::propertyRemoved);