summaryrefslogtreecommitdiff
path: root/Applications/PaintBrush/PenTool.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-13 21:51:43 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-13 21:51:43 +0200
commit02d9cf2039e257c585b2ee1a27a85d7e3cd2b4de (patch)
treebc28126cf5afc3dc8415c761fbf86d561a973dd9 /Applications/PaintBrush/PenTool.h
parent72e57561a1ba4e48fa0118ac44dfd5611e5da584 (diff)
downloadserenity-02d9cf2039e257c585b2ee1a27a85d7e3cd2b4de.zip
PaintBrush: Tool::on_contextmenu() => on_tool_button_context_menu()
Diffstat (limited to 'Applications/PaintBrush/PenTool.h')
-rw-r--r--Applications/PaintBrush/PenTool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/PaintBrush/PenTool.h b/Applications/PaintBrush/PenTool.h
index 432410ba38..38d2ae9450 100644
--- a/Applications/PaintBrush/PenTool.h
+++ b/Applications/PaintBrush/PenTool.h
@@ -40,7 +40,7 @@ public:
virtual void on_mousedown(Layer&, GUI::MouseEvent& layer_event, GUI::MouseEvent& original_event) override;
virtual void on_mousemove(Layer&, GUI::MouseEvent& layer_event, GUI::MouseEvent& original_event) override;
virtual void on_mouseup(Layer&, GUI::MouseEvent& layer_event, GUI::MouseEvent& original_event) override;
- virtual void on_contextmenu(GUI::ContextMenuEvent&) override;
+ virtual void on_tool_button_contextmenu(GUI::ContextMenuEvent&) override;
private:
virtual const char* class_name() const override { return "PenTool"; }