diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/InputBox.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/InputBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/InputBox.cpp b/Userland/Libraries/LibGUI/InputBox.cpp index 834a0f09c9..5c590d821a 100644 --- a/Userland/Libraries/LibGUI/InputBox.cpp +++ b/Userland/Libraries/LibGUI/InputBox.cpp @@ -103,7 +103,7 @@ void InputBox::build() button_container_inner.add_spacer().release_value_but_fixme_should_propagate_errors(); m_ok_button = button_container_inner.add<DialogButton>(); - m_ok_button->set_text(String::from_utf8_short_string("OK"sv)); + m_ok_button->set_text("OK"_short_string); m_ok_button->on_click = [this](auto) { dbgln("GUI::InputBox: OK button clicked"); done(ExecResult::OK); @@ -111,7 +111,7 @@ void InputBox::build() m_ok_button->set_default(true); m_cancel_button = button_container_inner.add<DialogButton>(); - m_cancel_button->set_text(String::from_utf8_short_string("Cancel"sv)); + m_cancel_button->set_text("Cancel"_short_string); m_cancel_button->on_click = [this](auto) { dbgln("GUI::InputBox: Cancel button clicked"); done(ExecResult::Cancel); |