mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 19:40:53 +01:00
Fix wrong way to save number value in xml file. (store without local formating)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4748 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -600,8 +600,8 @@ QDomElement QetShapeItem::toXml(QDomDocument &document) const
|
||||
{
|
||||
QDomElement point = document.createElement("point");
|
||||
QPointF pf = mapToScene(p);
|
||||
point.setAttribute("x", pf.x());
|
||||
point.setAttribute("y", pf.y());
|
||||
point.setAttribute("x", QString::number(pf.x()));
|
||||
point.setAttribute("y", QString::number(pf.y()));
|
||||
points.appendChild(point);
|
||||
}
|
||||
result.appendChild(points);
|
||||
|
||||
Reference in New Issue
Block a user