diff -r 4787d05e9c89 -r e17e07661f4c src/model.cpp --- a/src/model.cpp Sat Jul 23 01:38:06 2022 +0300 +++ b/src/model.cpp Sat Jul 23 01:38:43 2022 +0300 @@ -175,16 +175,11 @@ } } -void save(const Model &model, QTextStream* stream) -{ - *stream << model.toPlainText(); -} - /** * @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