--- a/src/model.cpp Wed Jul 20 21:35:55 2022 +0300 +++ b/src/model.cpp Wed Jul 20 21:48:46 2022 +0300 @@ -179,7 +179,7 @@ * @brief Sets the path to the model * @param path New path to use */ -void updateHeaderNameField(Model& model, const QString &name) +void updateHeaderNameField(QTextDocument& model, const QString &name) { #if 0 // Update the "Name: 1234.dat" comment