1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

ProcessManager: Tidy up the memory stats and align everything nicely.

This commit is contained in:
Andreas Kling 2019-03-10 12:34:44 +01:00
parent 37388b311f
commit 6836e21d1c
3 changed files with 29 additions and 17 deletions

View file

@ -16,7 +16,7 @@ void GLabel::set_icon(RetainPtr<GraphicsBitmap>&& icon)
m_icon = move(icon);
}
void GLabel::set_text(String&& text)
void GLabel::set_text(const String& text)
{
if (text == m_text)
return;

View file

@ -12,7 +12,7 @@ public:
virtual ~GLabel() override;
String text() const { return m_text; }
void set_text(String&&);
void set_text(const String&);
void set_icon(RetainPtr<GraphicsBitmap>&&);
const GraphicsBitmap* icon() const { return m_icon.ptr(); }