diff -r 7c27cda03747 -r 97df974b5ed5 src/model.cpp --- a/src/model.cpp Fri Mar 06 23:45:44 2020 +0200 +++ b/src/model.cpp Mon Mar 09 14:21:54 2020 +0200 @@ -88,7 +88,7 @@ return this->cachedPolygons; } -QModelIndex Model::lookup(ldraw::Id id) const +QModelIndex Model::lookup(ldraw::id_t id) const { // FIXME: This linear search will probably cause performance issues for (std::size_t i = 0; i < this->body.size(); i += 1) @@ -101,7 +101,7 @@ return {}; } -ldraw::Id Model::resolve(const QModelIndex& index) const +ldraw::id_t Model::resolve(const QModelIndex& index) const { return this->objectAt(index)->id; }