--- a/src/model.h Sun Jan 29 21:17:43 2017 +0200 +++ b/src/model.h Mon Jan 30 00:59:06 2017 +0200 @@ -18,7 +18,6 @@ void replace(LDObject *object, Model& model); void clear(); void merge(Model& other, int position = -1); - void replace(LDObject* object, LDObject* newObject); int size() const; const QVector<LDObject*>& objects() const; LDObject* getObject(int position) const;