--- a/src/document.cpp Sun Oct 24 11:33:32 2021 +0300 +++ b/src/document.cpp Tue Nov 02 15:43:57 2021 +0200 @@ -228,33 +228,3 @@ { this->renderer->adjustGridToView(); } - -/** - * @brief Attempts to save the document - * @param errors Where to report any errors that might occurr - * @return whether or not it succeeded - */ -bool Document::save(QTextStream& errors) -{ - this->model->makeUnofficial(); - return this->model->save(errors); -} - -/** - * @brief Gets the current path - * @return string - */ -const QString &Document::modelPath() const -{ - return this->model->path(); -} - -/** - * @brief Sets the path of the model - * @param newPath - */ -void Document::setModelPath(const QString &newPath) -{ - this->model->setPath(newPath); -} -