This commit is contained in:
Martin Marmsoler
2020-08-24 20:34:18 +02:00
parent 385d0ffd69
commit a10709157d
27 changed files with 276 additions and 167 deletions

View File

@@ -245,8 +245,10 @@ ConductorProperties::~ConductorProperties() {
* Export conductor propertie, in the XML element 'e'
* @param e the xml element
*/
void ConductorProperties::toXml(QDomElement &e) const
void ConductorProperties::toXml(QDomDocument& doc) const
{
QDomElement conductor_elmt = xml_document.createElement("conductors");
e.setAttribute("type", typeToString(type));
if (color != QColor(Qt::black))