mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +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
|
@ -83,7 +83,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto_modifier_action->set_checkable(true);
|
||||
auto_modifier_action->set_checked(false);
|
||||
|
||||
auto& file_menu = window->add_menu("&File"_short_string);
|
||||
auto& file_menu = window->add_menu("&File"_string);
|
||||
file_menu.add_action(open_action);
|
||||
file_menu.add_action(save_action);
|
||||
file_menu.add_action(save_as_action);
|
||||
|
@ -93,7 +93,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto& settings_menu = window->add_menu("&Settings"_string);
|
||||
settings_menu.add_action(auto_modifier_action);
|
||||
|
||||
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("Keyboard Mapper", app_icon, window));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue