Don't use QMap::unite for merging maps
Other code using these maps are not treating them like multi-maps Change-Id: I3381fde3b3612a29110cfe890f20f96f3c0bd3a2 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
6f5556e7b4
commit
40f28b1a8a
@ -631,10 +631,10 @@ QDBusMetaObject *QDBusMetaObject::createMetaObject(const QString &interface, con
|
||||
QDBusIntrospection::Interface merged = *it.value().constData();
|
||||
|
||||
for (++it; it != end; ++it) {
|
||||
merged.annotations.unite(it.value()->annotations);
|
||||
merged.annotations.insert(it.value()->annotations);
|
||||
merged.methods.unite(it.value()->methods);
|
||||
merged.signals_.unite(it.value()->signals_);
|
||||
merged.properties.unite(it.value()->properties);
|
||||
merged.properties.insert(it.value()->properties);
|
||||
}
|
||||
|
||||
merged.name = QLatin1String("local.Merged");
|
||||
|
Loading…
Reference in New Issue
Block a user