mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user