Use XmlElementCollection instead of XmlElementsCollection, to write the embedded collection in the method toXml

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4466 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-05-02 09:00:23 +00:00
parent f8d9e7a340
commit 4c245e0772

View File

@@ -552,8 +552,8 @@ QDomDocument QETProject::toXml() {
} }
} }
// collection //Write the elements collection.
project_root.appendChild(collection_ -> writeXml(xml_doc)); project_root.appendChild(m_elements_collection->root().cloneNode(true));
return(xml_doc); return(xml_doc);
} }