Rapatriement dans la branche 0.3 des revisions 870 a 903.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@904 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-03-28 16:27:48 +00:00
parent 815a2ea3e8
commit c3563a8307
261 changed files with 23264 additions and 2797 deletions

View File

@@ -482,8 +482,8 @@ bool Terminal::valideXml(QDomElement &terminal) {
*/
bool Terminal::fromXml(QDomElement &terminal) {
return (
terminal.attribute("x").toDouble() == amarrage_elmt.x() &&\
terminal.attribute("y").toDouble() == amarrage_elmt.y() &&\
qFuzzyCompare(terminal.attribute("x").toDouble(), amarrage_elmt.x()) &&
qFuzzyCompare(terminal.attribute("y").toDouble(), amarrage_elmt.y()) &&
terminal.attribute("orientation").toInt() == sens
);
}