diff -r 6d75fa09cc0c -r edb6c09cdd3c src/main.cpp --- a/src/main.cpp Mon Jul 04 00:19:18 2022 +0300 +++ b/src/main.cpp Mon Jul 04 00:23:50 2022 +0300 @@ -18,7 +18,6 @@ #include "src/settings.h" #include "src/settingseditor/settingseditor.h" #include "src/ui/circletooloptionswidget.h" -#include "src/ui/objecteditor.h" #include "src/version.h" #include "src/widgets/colorselectdialog.h" #include "src/parser.h" @@ -283,7 +282,6 @@ struct ToolWidgets { CircleToolOptionsWidget* circleToolOptions; - ObjectEditor* objectEditor; }; void initializeTools(Ui_MainWindow* ui, ToolWidgets* toolWidgets, QWidget* parent) @@ -298,7 +296,7 @@ .name = QObject::tr("Select"), .tooltip = QObject::tr("Select elements from the model."), .icon = {":/icons/navigate-outline.png"}, - .widget = toolWidgets->objectEditor, + .widget = nullptr, }, { .name = QObject::tr("Draw"), @@ -440,7 +438,6 @@ ui.setupUi(&mainWindow); ToolWidgets toolWidgets{ .circleToolOptions = new CircleToolOptionsWidget{&mainWindow}, - .objectEditor = new ObjectEditor{&mainWindow}, }; const auto updateTitle = [&ui, &mainWindow]{ mainWindow.setWindowTitle(title(&ui));