diff -r e085f36e4d9f -r 7b62c52835a1 src/tools/selecttool.h --- a/src/tools/selecttool.h Tue Sep 28 00:21:09 2021 +0300 +++ b/src/tools/selecttool.h Tue Sep 28 22:14:00 2021 +0300 @@ -7,12 +7,11 @@ Q_OBJECT public: - Q_INVOKABLE SelectTool(Model* model, QObject* parent = nullptr); - + Q_INVOKABLE SelectTool(Model* model, QWidget* parent = nullptr); QString name() const override; QString toolTip() const override; bool mouseClick(Document*, Canvas*, QMouseEvent*) override; QWidget* toolWidget() override; void selectionChanged(const QSet &newSelection) override; - ObjectEditor objectEditor; + ObjectEditor* objectEditor; };