diff -r 7c27cda03747 -r 97df974b5ed5 src/ui/canvas.cpp --- 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& selectedIds, const QSet& deselectedIds) +void Canvas::handleSelectionChange(const QSet& selectedIds, const QSet& 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);