summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-02-12 00:04:02 +0100
committerSam Atkins <atkinssj@gmail.com>2023-02-16 23:36:58 +0000
commitbe717edd339c6d8c1c94e2ff1b203e443e5c36b3 (patch)
tree9a31331583e5d5d8244ef5e1e2d3bfbb435d244f /Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h
parentb409a40377b9b3a22155293f320420cebeea12cf (diff)
downloadserenity-be717edd339c6d8c1c94e2ff1b203e443e5c36b3.zip
PixelPaint: Propagate errors from making tool property widgets
Diffstat (limited to 'Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h')
-rw-r--r--Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h b/Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h
index f7bc6bccb3..bcdca79c3f 100644
--- a/Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h
+++ b/Userland/Applications/PixelPaint/Tools/PolygonalSelectTool.h
@@ -22,7 +22,7 @@ public:
virtual void on_mousemove(Layer*, MouseEvent& event) override;
virtual bool on_keydown(GUI::KeyEvent&) override;
virtual void on_second_paint(Layer const*, GUI::PaintEvent&) override;
- virtual GUI::Widget* get_properties_widget() override;
+ virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return Gfx::StandardCursor::Crosshair; }
virtual Gfx::IntPoint point_position_to_preferred_cell(Gfx::FloatPoint position) const override;