We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a94661 commit ae9fe60Copy full SHA for ae9fe60
Libraries/LibGUI/Label.cpp
@@ -44,7 +44,7 @@ Label::~Label()
44
{
45
}
46
47
-void Label::set_icon(Gfx::Bitmap* icon)
+void Label::set_icon(const Gfx::Bitmap* icon)
48
49
if (m_icon == icon)
50
return;
Libraries/LibGUI/Label.h
@@ -39,7 +39,7 @@ class Label : public Frame {
39
String text() const { return m_text; }
40
void set_text(const StringView&);
41
42
- void set_icon(Gfx::Bitmap*);
+ void set_icon(const Gfx::Bitmap*);
43
const Gfx::Bitmap* icon() const { return m_icon.ptr(); }
Gfx::Bitmap* icon() { return m_icon.ptr(); }
0 commit comments