diff -r 5bb26aa33ad5 -r 719b909a7d2b src/vertexmap.h --- a/src/vertexmap.h Wed Jul 20 21:35:55 2022 +0300 +++ b/src/vertexmap.h Wed Jul 20 21:48:46 2022 +0300 @@ -19,13 +19,13 @@ glm::mat4 transform; }; using ApplyFunction = std::function; - VertexMap(const Model *model); + VertexMap(const QTextDocument *model); Q_SLOT void build(); void apply(ApplyFunction fn) const; Q_SIGNALS: Q_SIGNAL void verticesChanged(); private: - const Model* const model; + const QTextDocument* const model; QSet vertexHashes; std::vector vertices; std::map map;