diff -r e085f36e4d9f -r 7b62c52835a1 src/tools/basetool.cpp --- a/src/tools/basetool.cpp Tue Sep 28 00:21:09 2021 +0300 +++ b/src/tools/basetool.cpp Tue Sep 28 22:14:00 2021 +0300 @@ -1,4 +1,5 @@ #include "basetool.h" -BaseTool::BaseTool(Model*, QObject* parent) : - QObject{parent} {} +BaseTool::BaseTool(Model*, QWidget *parent) : + QObject{parent}, + parentWidget{parent} {}