diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Button.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/Button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Button.cpp b/Userland/Libraries/LibGUI/Button.cpp index 7cd7d440a0..60cbaa2648 100644 --- a/Userland/Libraries/LibGUI/Button.cpp +++ b/Userland/Libraries/LibGUI/Button.cpp @@ -134,7 +134,7 @@ void Button::set_action(Action& action) set_checked(action.is_checked()); } -void Button::set_icon(RefPtr<Gfx::Bitmap>&& icon) +void Button::set_icon(RefPtr<Gfx::Bitmap> icon) { if (m_icon == icon) return; |