Commit bb99b788 authored by Christian Kamm's avatar Christian Kamm
Browse files

In the XML describing the Qml types, order the types by name.

This should allow diffs of the generated file to be more meaningful.

Reviewed-by: Roberto Raggi
parent 952f23ca
......@@ -279,7 +279,11 @@ int main(int argc, char *argv[])
xml.writeStartDocument("1.0");
xml.writeStartElement("module");
QMap<QString, const QMetaObject *> nameToMeta;
foreach (const QMetaObject *meta, metas) {
nameToMeta.insert(convertToQmlType(meta->className()), meta);
}
foreach (const QMetaObject *meta, nameToMeta) {
dump(meta, &xml);
}
......
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