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:
blacksun
2016-10-17 19:41:44 +00:00
parent c5f5a55875
commit 0ea8b45f70
3 changed files with 5 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ void XRefProperties::toXml(QDomElement &xml_element) const {
QString snap = m_snap_to == Bottom? "bottom" : "label";
xml_element.setAttribute("snapto", snap);
int offset = m_offset;
xml_element.setAttribute("offset", offset);
xml_element.setAttribute("offset", QString::number(offset));
QString master_label = m_master_label;
xml_element.setAttribute("master_label", master_label);
QString slave_label = m_slave_label;