Resolution d'un probleme avec l'export XML de coordonnees decimales : le separateur decimal utilise variait selon la locale utilisee.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@391 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2008-08-23 19:27:14 +00:00
parent 3e31df6820
commit a4acad7317
10 changed files with 29 additions and 29 deletions

View File

@@ -931,7 +931,7 @@ QDomElement Conductor::toXml(QDomDocument &d, QHash<Terminal *, int> &table_adr_
foreach(ConductorSegment *segment, segmentsList()) {
current_segment = d.createElement("segment");
current_segment.setAttribute("orientation", segment -> isHorizontal() ? "horizontal" : "vertical");
current_segment.setAttribute("length", segment -> length());
current_segment.setAttribute("length", QString("%1").arg(segment -> length()));
e.appendChild(current_segment);
}
}