mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 12:27:36 +00:00
Everywhere: Use _{short_,}string to create Strings from literals
This commit is contained in:
parent
85414d9338
commit
09d40bfbb2
92 changed files with 334 additions and 310 deletions
|
@ -46,8 +46,8 @@ RoundingDialog::RoundingDialog(GUI::Window* parent_window, StringView title)
|
|||
|
||||
m_rounding_spinbox = GUI::SpinBox::construct();
|
||||
m_buttons_container = GUI::Widget::construct();
|
||||
m_ok_button = GUI::DialogButton::construct(String::from_utf8_short_string("OK"sv));
|
||||
m_cancel_button = GUI::DialogButton::construct(String::from_utf8_short_string("Cancel"sv));
|
||||
m_ok_button = GUI::DialogButton::construct("OK"_short_string);
|
||||
m_cancel_button = GUI::DialogButton::construct("Cancel"_short_string);
|
||||
|
||||
main_widget->add_child(*m_rounding_spinbox);
|
||||
main_widget->add_child(*m_buttons_container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue