From 2483368626d8405e5fe6f99cd5938449239bc847 Mon Sep 17 00:00:00 2001 From: Adel KARA SLIMANE Date: Sun, 23 Jun 2024 21:13:22 +0200 Subject: [PATCH] Fix building on MacOS --- src/GraphDraw/mathobjectdraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}))); } } }