diff options
Diffstat (limited to 'Userland/Applications/PixelPaint/Tools/BucketTool.h')
-rw-r--r-- | Userland/Applications/PixelPaint/Tools/BucketTool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/PixelPaint/Tools/BucketTool.h b/Userland/Applications/PixelPaint/Tools/BucketTool.h index a5c5dcddb3..09bf0d4c5f 100644 --- a/Userland/Applications/PixelPaint/Tools/BucketTool.h +++ b/Userland/Applications/PixelPaint/Tools/BucketTool.h @@ -18,14 +18,14 @@ public: virtual void on_mousedown(Layer*, MouseEvent&) override; virtual ErrorOr<GUI::Widget*> get_properties_widget() override; - virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return m_cursor; } + virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> cursor() override { return m_cursor; } private: virtual StringView tool_name() const override { return "Bucket Tool"sv; } RefPtr<GUI::Widget> m_properties_widget; int m_threshold { 0 }; - Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> m_cursor { Gfx::StandardCursor::Crosshair }; + Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> m_cursor { Gfx::StandardCursor::Crosshair }; }; } |