mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 01:10:53 +01:00
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:
@@ -174,9 +174,9 @@ const QDomElement PartLine::toXml(QDomDocument &xml_document) const {
|
|||||||
xml_element.setAttribute("x2", QString("%1").arg(p2.x()));
|
xml_element.setAttribute("x2", QString("%1").arg(p2.x()));
|
||||||
xml_element.setAttribute("y2", QString("%1").arg(p2.y()));
|
xml_element.setAttribute("y2", QString("%1").arg(p2.y()));
|
||||||
xml_element.setAttribute("end1", QET::endTypeToString(first_end));
|
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("end2", QET::endTypeToString(second_end));
|
||||||
xml_element.setAttribute("length2", second_length);
|
xml_element.setAttribute("length2", QString("%1").arg(second_length));
|
||||||
|
|
||||||
stylesToXml(xml_element);
|
stylesToXml(xml_element);
|
||||||
return(xml_element);
|
return(xml_element);
|
||||||
|
|||||||
Reference in New Issue
Block a user