summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/Tools/EraseTool.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/EraseTool.h
parentb409a40377b9b3a22155293f320420cebeea12cf (diff)
downloadserenity-be717edd339c6d8c1c94e2ff1b203e443e5c36b3.zip
PixelPaint: Propagate errors from making tool property widgets
Diffstat (limited to 'Userland/Applications/PixelPaint/Tools/EraseTool.h')
-rw-r--r--Userland/Applications/PixelPaint/Tools/EraseTool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/Tools/EraseTool.h b/Userland/Applications/PixelPaint/Tools/EraseTool.h
index 3d1889e0bc..a85196c080 100644
--- a/Userland/Applications/PixelPaint/Tools/EraseTool.h
+++ b/Userland/Applications/PixelPaint/Tools/EraseTool.h
@@ -20,7 +20,7 @@ public:
EraseTool() = default;
virtual ~EraseTool() override = default;
- virtual GUI::Widget* get_properties_widget() override;
+ virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
protected:
virtual Color color_for(GUI::MouseEvent const& event) override;