[qet] [4466] Use XmlElementCollection instead of XmlElementsCollection, to write the embedded collection in the method toXml |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4466
Author: blacksun
Date: 2016-05-02 11:00:23 +0200 (Mon, 02 May 2016)
Log Message:
-----------
Use XmlElementCollection instead of XmlElementsCollection, to write the embedded collection in the method toXml
Modified Paths:
--------------
trunk/sources/qetproject.cpp
Modified: trunk/sources/qetproject.cpp
===================================================================
--- trunk/sources/qetproject.cpp 2016-04-30 07:04:52 UTC (rev 4465)
+++ trunk/sources/qetproject.cpp 2016-05-02 09:00:23 UTC (rev 4466)
@@ -552,8 +552,8 @@
}
}
- // collection
- project_root.appendChild(collection_ -> writeXml(xml_doc));
+ //Write the elements collection.
+ project_root.appendChild(m_elements_collection->root().cloneNode(true));
return(xml_doc);
}