src/tools/drawtool.cpp

changeset 126
a7c720aff97c
parent 125
f127982d3412
child 139
72098474d362
--- a/src/tools/drawtool.cpp	Sun Aug 29 20:39:55 2021 +0300
+++ b/src/tools/drawtool.cpp	Sun Aug 29 21:28:08 2021 +0300
@@ -12,8 +12,8 @@
 static const QBrush polygonBrush = {QColor{64, 255, 128, 192}};
 static const QBrush badPolygonBrush = {QColor{255, 96, 96, 192}};
 
-DrawTool::DrawTool(QObject* parent) :
-	BaseTool{parent} {}
+DrawTool::DrawTool(Model *model, QObject *parent) :
+	BaseTool{model, parent} {}
 
 QString DrawTool::name() const
 {

mercurial