src/tools/basetool.cpp

changeset 152
03f8e6d42e13
parent 143
7b62c52835a1
child 163
36ea1a8aee33
--- a/src/tools/basetool.cpp	Thu Mar 03 21:13:16 2022 +0200
+++ b/src/tools/basetool.cpp	Fri Mar 04 11:37:50 2022 +0200
@@ -1,5 +1,9 @@
 #include "basetool.h"
+#include "document.h"
 
-BaseTool::BaseTool(Model*, QWidget *parent) :
-	QObject{parent},
-	parentWidget{parent} {}
+BaseTool::BaseTool(Document *document) :
+	QObject{document},
+	parentWidget{document},
+	document{document}
+{
+}

mercurial