--- a/src/ui/canvas.cpp Fri Mar 06 23:45:44 2020 +0200 +++ b/src/ui/canvas.cpp Mon Mar 09 14:21:54 2020 +0200 @@ -12,7 +12,7 @@ this->setMouseTracking(true); } -void Canvas::handleSelectionChange(const QSet<ldraw::Id>& selectedIds, const QSet<ldraw::Id>& deselectedIds) +void Canvas::handleSelectionChange(const QSet<ldraw::id_t>& selectedIds, const QSet<ldraw::id_t>& deselectedIds) { Q_ASSERT(not selectedIds.contains(ldraw::NULL_ID)); this->selection.subtract(deselectedIds); @@ -23,7 +23,7 @@ void Canvas::mouseMoveEvent(QMouseEvent* event) { - const ldraw::Id id = this->pick(event->pos()); + const ldraw::id_t id = this->pick(event->pos()); this->highlighted = id; this->totalMouseMove += (event->pos() - this->lastMousePosition).manhattanLength(); this->worldPosition = this->screenToModelCoordinates(event->pos(), this->gridPlane);