From d918650bb7871ab9d661e9843ffb96bad6d73667 Mon Sep 17 00:00:00 2001 From: xavier Date: Sun, 14 Feb 2010 13:01:13 +0000 Subject: [PATCH] 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 --- sources/editor/partline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/editor/partline.cpp b/sources/editor/partline.cpp index 0934ed73a..966b51db3 100644 --- a/sources/editor/partline.cpp +++ b/sources/editor/partline.cpp @@ -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);