mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibGUI: Make Label::set_icon() take a const Gfx::Bitmap*
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
String text() const { return m_text; }
|
||||
void set_text(const StringView&);
|
||||
|
||||
void set_icon(Gfx::Bitmap*);
|
||||
void set_icon(const Gfx::Bitmap*);
|
||||
const Gfx::Bitmap* icon() const { return m_icon.ptr(); }
|
||||
Gfx::Bitmap* icon() { return m_icon.ptr(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user