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:
parent
37388b311f
commit
6836e21d1c
3 changed files with 29 additions and 17 deletions
|
@ -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;
|
||||
|
|
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue