diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Label.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Label.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Label.h b/Userland/Libraries/LibGUI/Label.h index 97e4493ddc..dac18da10b 100644 --- a/Userland/Libraries/LibGUI/Label.h +++ b/Userland/Libraries/LibGUI/Label.h @@ -22,9 +22,9 @@ public: String text() const { return m_text; } void set_text(String); - void set_icon(const Gfx::Bitmap*); + void set_icon(Gfx::Bitmap const*); void set_icon_from_path(String const&); - const Gfx::Bitmap* icon() const { return m_icon.ptr(); } + Gfx::Bitmap const* icon() const { return m_icon.ptr(); } Gfx::Bitmap* icon() { return m_icon.ptr(); } Gfx::TextAlignment text_alignment() const { return m_text_alignment; } |