--- a/src/documentmanager.cpp Fri Mar 16 12:20:16 2018 +0200 +++ b/src/documentmanager.cpp Fri Mar 16 16:28:39 2018 +0200 @@ -309,7 +309,7 @@ int numWarnings; Parser parser {*fp}; - load->setHeader(parser.parseHeader()); + load->header = parser.parseHeader(); parser.parseBody(*load); fp->close(); fp->deleteLater();