summaryrefslogtreecommitdiff
path: root/LibGUI/GStatusBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GStatusBar.cpp')
-rw-r--r--LibGUI/GStatusBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GStatusBar.cpp b/LibGUI/GStatusBar.cpp
index 74c6816f22..210622bab9 100644
--- a/LibGUI/GStatusBar.cpp
+++ b/LibGUI/GStatusBar.cpp
@@ -26,9 +26,9 @@ GStatusBar::~GStatusBar()
{
}
-void GStatusBar::set_text(String&& text)
+void GStatusBar::set_text(const String& text)
{
- m_label->set_text(move(text));
+ m_label->set_text(text);
}
String GStatusBar::text() const