From 4c245e0772e8f00d865fa02029f54644cfbaa680 Mon Sep 17 00:00:00 2001 From: blacksun Date: Mon, 2 May 2016 09:00:23 +0000 Subject: [PATCH] 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 --- sources/qetproject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/qetproject.cpp b/sources/qetproject.cpp index 5cbde89c3..8dee14680 100644 --- a/sources/qetproject.cpp +++ b/sources/qetproject.cpp @@ -552,8 +552,8 @@ QDomDocument QETProject::toXml() { } } - // collection - project_root.appendChild(collection_ -> writeXml(xml_doc)); + //Write the elements collection. + project_root.appendChild(m_elements_collection->root().cloneNode(true)); return(xml_doc); }