--- a/src/model.h Sat Mar 03 16:59:03 2018 +0200 +++ b/src/model.h Sat Mar 03 17:25:12 2018 +0200 @@ -103,7 +103,7 @@ int size() const; const QVector<LDObject*>& objects() const; LDObject* getObject(int position) const; - void recountTriangles(); + Q_SLOT void recountTriangles(); int triangleCount() const; QVector<LDObject*>::iterator begin(); QVector<LDObject*>::iterator end();