diff --git a/src/GraphDraw/mathobjectdraw.cpp b/src/GraphDraw/mathobjectdraw.cpp index f82a339..84c5264 100644 --- a/src/GraphDraw/mathobjectdraw.cpp +++ b/src/GraphDraw/mathobjectdraw.cpp @@ -303,7 +303,7 @@ void MathObjectDraw::drawOneSequence(int i, int width) return; painter.drawPoint( - QPointF(viewMapper.to(zg::point{.x = real_x, .y = y}))); + QPointF(viewMapper.to(zg::real_pt{.x = real_x, .y = y}))); } } }