diff options
author | Karol Kosek <krkk@serenityos.org> | 2023-02-12 00:04:02 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-02-16 23:36:58 +0000 |
commit | be717edd339c6d8c1c94e2ff1b203e443e5c36b3 (patch) | |
tree | 9a31331583e5d5d8244ef5e1e2d3bfbb435d244f /Userland/Applications/PixelPaint/Tools/EraseTool.h | |
parent | b409a40377b9b3a22155293f320420cebeea12cf (diff) | |
download | serenity-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.h | 2 |
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; |