| 50 | namespace OpenOrienteering { |
| 51 | |
| 52 | EditTool::EditTool(MapEditorController* editor, MapEditorTool::Type type, QAction* tool_action) |
| 53 | : MapEditorToolBase { QCursor(QPixmap(QString::fromLatin1(":/images/cursor-hollow.png")), 1, 1), type, editor, tool_action } |
| 54 | , object_selector { new ObjectSelector(map()) } |
| 55 | { |
| 56 | connect(editor->getMainWidget()->getMapView(), |
| 57 | SIGNAL(viewChanged(OpenOrienteering::MapView::ChangeFlags)), |
| 58 | this, SLOT(applyViewChanges(OpenOrienteering::MapView::ChangeFlags))); |
| 59 | } |
| 60 | |
| 61 | |
| 62 | EditTool::~EditTool() = default; |
nothing calls this directly
no test coverage detected