diff -r 8db26042f3d1 -r 9c570a30c98a src/documentmanager.cpp --- 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();