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

QmlDump: Fix use with namespaced types.

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