mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user