Skip to content
Snippets Groups Projects
Commit 30111df8 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm extra end element => specular instruments saved correctly

parent e2e04c94
No related branches found
No related tags found
1 merge request!2679apply test suite to XML serialization, and fix a number of serialization bugs (#1013); revert removal of materials argument (#1014)
Pipeline #152301 failed
...@@ -507,7 +507,6 @@ void SpecularInstrumentItem::writeTo(QXmlStreamWriter* w) const ...@@ -507,7 +507,6 @@ void SpecularInstrumentItem::writeTo(QXmlStreamWriter* w) const
{ {
XML::writeAttribute(w, XML::Attrib::version, uint(1)); XML::writeAttribute(w, XML::Attrib::version, uint(1));
XML::writeBaseElement<ScanningInstrumentItem>(w, XML::Tag::BaseData, this); XML::writeBaseElement<ScanningInstrumentItem>(w, XML::Tag::BaseData, this);
w->writeEndElement();
} }
void SpecularInstrumentItem::readFrom(QXmlStreamReader* r) void SpecularInstrumentItem::readFrom(QXmlStreamReader* r)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment