git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3184 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-06-28 15:13:37 +00:00
parent 8379163061
commit 8c5f953897

View File

@@ -62,7 +62,7 @@ void XRefProperties::fromSettings(const QSettings &settings, const QString prefi
* @param xml_element: QDomElement to use for saving
*/
void XRefProperties::toXml(QDomElement &xml_element) const {
xml_element.setAttribute("showpowerctc", m_show_power_ctc? "true" : "fasle");
xml_element.setAttribute("showpowerctc", m_show_power_ctc? "true" : "false");
QString display = m_display == Cross? "cross" : "contacts";
xml_element.setAttribute("displayhas", display);
QString snap = m_snap_to == Bottom? "bottom" : "label";