LibGUI: Make Label::set_icon() take a const Gfx::Bitmap*

This commit is contained in:
Andreas Kling
2020-03-29 18:41:34 +02:00
parent 0a94661c14
commit ae9fe60412
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ Label::~Label()
{
}
void Label::set_icon(Gfx::Bitmap* icon)
void Label::set_icon(const Gfx::Bitmap* icon)
{
if (m_icon == icon)
return;