--- a/src/linetypes/comment.h Sun Mar 05 13:33:37 2017 +0200 +++ b/src/linetypes/comment.h Sun Mar 05 16:47:52 2017 +0200 @@ -37,9 +37,9 @@ void setText(QString value); protected: + friend class ResourceVector<LDObject>; LDComment(QString text, Model* model); LDComment(Model* model); - friend class Model; private: QString m_text;