--- a/src/gl/partrenderer.h Sat Jul 23 01:38:06 2022 +0300 +++ b/src/gl/partrenderer.h Sat Jul 23 01:38:43 2022 +0300 @@ -9,7 +9,7 @@ class PartRenderer final : public QOpenGLWidget { Q_OBJECT - Model* const model; + QTextDocument* const model; DocumentManager* const documents; const ColorTable& colorTable; BoundingBox boundingBox; @@ -32,7 +32,7 @@ bool frozen = false; public: PartRenderer( - Model* model, + QTextDocument* model, DocumentManager* documents, const ColorTable& colorTable, QWidget* parent = nullptr);