--- a/src/ldDocument.h Sat Aug 22 15:58:50 2015 +0300 +++ b/src/ldDocument.h Sat Aug 22 18:10:28 2015 +0300 @@ -74,7 +74,6 @@ PROPERTY (public, int, tabIndex, setTabIndex, STOCK_WRITE) PROPERTY (public, QList<LDPolygon>, polygonData, setPolygonData, STOCK_WRITE) PROPERTY (private, LDDocumentFlags, flags, setFlags, STOCK_WRITE) - PROPERTY (private, LDDocument*, self, setSelf, STOCK_WRITE) QMap<LDObject*, QVector<Vertex>> m_objectVertices; QVector<Vertex> m_vertices; @@ -82,7 +81,7 @@ bool m_needVertexMerge; public: - LDDocument(LDDocument** selfptr); + LDDocument(); ~LDDocument(); int addObject (LDObject* obj); // Adds an object to this file at the end of the file.