Commit 3fbc0bd3 authored by Christian Kamm's avatar Christian Kamm

QmlDump: Fix use with namespaced types.

Reviewed-by: Roberto Raggi
parent af99e09b
......@@ -211,7 +211,7 @@ void dump(const QMetaObject *meta, QXmlStreamWriter *xml)
xml->writeAttributes(attributes);
QList<const QDeclarativeType *> qmlTypes = qmlTypesByCppName.value(id);
QList<const QDeclarativeType *> qmlTypes = qmlTypesByCppName.value(meta->className());
if (!qmlTypes.isEmpty()) {
xml->writeStartElement("exports");
foreach (const QDeclarativeType *qmlTy, qmlTypes) {
......
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