mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Userland: Prefer _string
over _short_string
As `_string` can't fail anymore (since 3434412
), there are no real
benefits to use the short variant in most cases.
This commit is contained in:
parent
a5edc9cdfc
commit
3f35ffb648
198 changed files with 684 additions and 684 deletions
|
@ -45,14 +45,14 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->set_title("Mail");
|
||||
window->resize(640, 400);
|
||||
|
||||
auto& file_menu = window->add_menu("&File"_short_string);
|
||||
auto& file_menu = window->add_menu("&File"_string);
|
||||
|
||||
file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) {
|
||||
mail_widget->on_window_close();
|
||||
app->quit();
|
||||
}));
|
||||
|
||||
auto& help_menu = window->add_menu("&Help"_short_string);
|
||||
auto& help_menu = window->add_menu("&Help"_string);
|
||||
help_menu.add_action(GUI::CommonActions::make_command_palette_action(window));
|
||||
help_menu.add_action(GUI::CommonActions::make_about_action("Mail", app_icon, window));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue