diff options
Diffstat (limited to 'Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp')
-rw-r--r-- | Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp b/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp index b18123887f..a39da30d04 100644 --- a/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp +++ b/Userland/Applications/PixelPaint/CreateNewLayerDialog.cpp @@ -47,13 +47,13 @@ CreateNewLayerDialog::CreateNewLayerDialog(Gfx::IntSize suggested_size, GUI::Win auto& button_container = main_widget->add<GUI::Widget>(); button_container.set_layout<GUI::HorizontalBoxLayout>(); - auto& ok_button = button_container.add<GUI::Button>(String::from_utf8_short_string("OK"sv)); + auto& ok_button = button_container.add<GUI::Button>("OK"_short_string); ok_button.on_click = [this](auto) { done(ExecResult::OK); }; ok_button.set_default(true); - auto& cancel_button = button_container.add<GUI::Button>(String::from_utf8_short_string("Cancel"sv)); + auto& cancel_button = button_container.add<GUI::Button>("Cancel"_short_string); cancel_button.on_click = [this](auto) { done(ExecResult::Cancel); }; |