diff options
Diffstat (limited to 'Userland/Applications/ImageViewer/main.cpp')
-rw-r--r-- | Userland/Applications/ImageViewer/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Applications/ImageViewer/main.cpp b/Userland/Applications/ImageViewer/main.cpp index 97376771dd..b60e31de43 100644 --- a/Userland/Applications/ImageViewer/main.cpp +++ b/Userland/Applications/ImageViewer/main.cpp @@ -297,7 +297,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) (void)TRY(main_toolbar->try_add_action(reset_zoom_action)); (void)TRY(main_toolbar->try_add_action(zoom_out_action)); - auto file_menu = TRY(window->try_add_menu("&File")); + auto file_menu = TRY(window->try_add_menu("&File"_short_string)); TRY(file_menu->try_add_action(open_action)); TRY(file_menu->try_add_action(delete_action)); TRY(file_menu->try_add_separator()); @@ -314,7 +314,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(file_menu->try_add_action(quit_action)); - auto image_menu = TRY(window->try_add_menu("&Image")); + auto image_menu = TRY(window->try_add_menu("&Image"_short_string)); TRY(image_menu->try_add_action(rotate_counterclockwise_action)); TRY(image_menu->try_add_action(rotate_clockwise_action)); TRY(image_menu->try_add_action(vertical_flip_action)); @@ -322,13 +322,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(image_menu->try_add_separator()); TRY(image_menu->try_add_action(desktop_wallpaper_action)); - auto navigate_menu = TRY(window->try_add_menu("&Navigate")); + auto navigate_menu = TRY(window->try_add_menu(TRY("&Navigate"_string))); TRY(navigate_menu->try_add_action(go_first_action)); TRY(navigate_menu->try_add_action(go_back_action)); TRY(navigate_menu->try_add_action(go_forward_action)); TRY(navigate_menu->try_add_action(go_last_action)); - auto view_menu = TRY(window->try_add_menu("&View")); + auto view_menu = TRY(window->try_add_menu("&View"_short_string)); TRY(view_menu->try_add_action(full_screen_action)); TRY(view_menu->try_add_separator()); TRY(view_menu->try_add_action(zoom_in_action)); @@ -353,7 +353,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(view_menu->try_add_separator()); TRY(view_menu->try_add_action(hide_show_toolbar_action)); - auto help_menu = TRY(window->try_add_menu("&Help")); + auto help_menu = TRY(window->try_add_menu("&Help"_short_string)); TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(window))); TRY(help_menu->try_add_action(GUI::CommonActions::make_help_action([](auto&) { Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/ImageViewer.md"), "/bin/Help"); |