Move load of kind information from element to custom element, because the kind information

belong to the element definition, so custom element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2896 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-03-02 11:15:59 +00:00
parent 390132933b
commit 578cda387b
2 changed files with 3 additions and 10 deletions

View File

@@ -161,6 +161,9 @@ bool CustomElement::buildFromXml(const QDomElement &xml_def_elmt, int *state) {
// extrait les noms de la definition XML
names.fromXml(xml_def_elmt);
setToolTip(name());
//load kind informations
kind_informations_.fromXml(xml_def_elmt.firstChildElement("kindInformations"), "kindInformation");
// parcours des enfants de la definition : parties du dessin
int parsed_elements_count = 0;