diff options
author | demostanis <demostanis@protonmail.com> | 2022-10-14 22:27:30 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-25 10:21:18 +0100 |
commit | 34acae90c77036897a3e2726ed145e6b7524bb49 (patch) | |
tree | c43ce5cf222812a02cbbf10dec6d1bab8b03a091 /Userland/Games/Solitaire | |
parent | eb8c2bde90729b98a0f2cb8cc322baf44f6e6085 (diff) | |
download | serenity-34acae90c77036897a3e2726ed145e6b7524bb49.zip |
Userland: Let applications make use of make_command_palette_action()
Diffstat (limited to 'Userland/Games/Solitaire')
-rw-r--r-- | Userland/Games/Solitaire/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Games/Solitaire/main.cpp b/Userland/Games/Solitaire/main.cpp index d36207b824..7d324fe502 100644 --- a/Userland/Games/Solitaire/main.cpp +++ b/Userland/Games/Solitaire/main.cpp @@ -205,6 +205,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(game_menu->try_add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }))); auto help_menu = TRY(window->try_add_menu("&Help")); + TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(window))); TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Solitaire", app_icon, window))); window->set_resizable(false); |