| 63 | const QRgb MapEditorTool::selection_color = qRgb(210, 0, 229); |
| 64 | |
| 65 | MapEditorTool::MapEditorTool(MapEditorController* editor, Type type, QAction* tool_action) |
| 66 | : QObject(nullptr) |
| 67 | , editor(editor) |
| 68 | , tool_action(tool_action) |
| 69 | , tool_type(type) |
| 70 | { |
| 71 | settingsChanged(); |
| 72 | connect(&Settings::getInstance(), &Settings::settingsChanged, this, &MapEditorTool::settingsChanged); |
| 73 | } |
| 74 | |
| 75 | MapEditorTool::~MapEditorTool() |
| 76 | { |
nothing calls this directly
no outgoing calls
no test coverage detected