mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Amelioration de la vitesse du rectangle de selection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@70 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -439,8 +439,8 @@ QList<QDomElement> Element::findInDomElement(QDomElement e, QString parent, QStr
|
||||
// parcours des enfants de l'element XML "parent"
|
||||
for (QDomNode node_children = parents.firstChild() ; !node_children.isNull() ; node_children = node_children.nextSibling()) {
|
||||
// on s'interesse a l'element XML "children"
|
||||
QDomElement children = node_children.toElement();
|
||||
if (!children.isNull()) return_list.append(children);
|
||||
QDomElement n_children = node_children.toElement();
|
||||
if (!n_children.isNull() && n_children.tagName() == children) return_list.append(n_children);
|
||||
}
|
||||
}
|
||||
return(return_list);
|
||||
|
||||
Reference in New Issue
Block a user