--- a/src/model.cpp Sun Nov 03 17:57:21 2019 +0200 +++ b/src/model.cpp Sun Nov 03 18:09:47 2019 +0200 @@ -26,7 +26,7 @@ QVariant Model::data(const QModelIndex& index, int role) const { const int row = index.row(); - modelobjects::BaseObject* object = this->body[row].get(); + linetypes::Object* object = this->body[row].get(); switch(role) { case Qt::DisplayRole: @@ -53,9 +53,9 @@ } } -QVariant Model::getObjectProperty(const int index, const modelobjects::Property property) const +QVariant Model::getObjectProperty(const int index, const linetypes::Property property) const { - const modelobjects::BaseObject* object = this->body[index].get(); + const linetypes::Object* object = this->body[index].get(); return object->getProperty(property); }