diff --git a/Applications/Welcome/TextWidget.cpp b/Applications/Welcome/TextWidget.cpp index ebd219d5e3..3ca2d0d07d 100644 --- a/Applications/Welcome/TextWidget.cpp +++ b/Applications/Welcome/TextWidget.cpp @@ -24,7 +24,7 @@ void TextWidget::set_text(const StringView& text) { if (text == m_text) return; - m_text = move(text); + m_text = text; wrap_and_set_height(); update(); } diff --git a/Libraries/LibGUI/GLabel.cpp b/Libraries/LibGUI/GLabel.cpp index 82f3e7b0ec..5c797fe99e 100644 --- a/Libraries/LibGUI/GLabel.cpp +++ b/Libraries/LibGUI/GLabel.cpp @@ -29,7 +29,7 @@ void GLabel::set_text(const StringView& text) { if (text == m_text) return; - m_text = move(text); + m_text = text; update(); }