Correction dans la classe PartLine : les attributs length1 et length2 etaient encore susceptibles d'etre ecrits dans un fichier .elmt avec un virgule en guise de separateur decimal.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@850 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-02-14 13:01:13 +00:00
parent 69e0812034
commit d918650bb7

View File

@@ -174,9 +174,9 @@ const QDomElement PartLine::toXml(QDomDocument &xml_document) const {
xml_element.setAttribute("x2", QString("%1").arg(p2.x()));
xml_element.setAttribute("y2", QString("%1").arg(p2.y()));
xml_element.setAttribute("end1", QET::endTypeToString(first_end));
xml_element.setAttribute("length1", first_length);
xml_element.setAttribute("length1", QString("%1").arg(first_length));
xml_element.setAttribute("end2", QET::endTypeToString(second_end));
xml_element.setAttribute("length2", second_length);
xml_element.setAttribute("length2", QString("%1").arg(second_length));
stylesToXml(xml_element);
return(xml_element);