src/tools/selecttool.cpp

changeset 152
03f8e6d42e13
parent 143
7b62c52835a1
child 163
36ea1a8aee33
--- a/src/tools/selecttool.cpp	Thu Mar 03 21:13:16 2022 +0200
+++ b/src/tools/selecttool.cpp	Fri Mar 04 11:37:50 2022 +0200
@@ -1,8 +1,10 @@
 #include "selecttool.h"
 
-SelectTool::SelectTool(Model* model, QWidget* parent) :
-	BaseTool{model, parent},
-	objectEditor{new ObjectEditor{model, ldraw::NULL_ID, parent}} {}
+SelectTool::SelectTool(Document* document) :
+	BaseTool{document},
+	objectEditor{new ObjectEditor{document, ldraw::NULL_ID}}
+{
+}
 
 QString SelectTool::name() const
 {

mercurial