mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +00:00
2048: Add separator before quit menu action
This commit is contained in:
parent
9a27ef6523
commit
f47153d437
Notes:
sideshowbarker
2024-07-18 18:16:48 +09:00
Author: https://github.com/linusg
Commit: f47153d437
1 changed files with 1 additions and 3 deletions
|
@ -182,13 +182,11 @@ int main(int argc, char** argv)
|
||||||
game = redo_stack.take_last();
|
game = redo_stack.take_last();
|
||||||
update();
|
update();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
game_menu.add_separator();
|
game_menu.add_separator();
|
||||||
|
|
||||||
game_menu.add_action(GUI::Action::create("&Settings...", [&](auto&) {
|
game_menu.add_action(GUI::Action::create("&Settings...", [&](auto&) {
|
||||||
change_settings();
|
change_settings();
|
||||||
}));
|
}));
|
||||||
|
game_menu.add_separator();
|
||||||
game_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
|
game_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
|
||||||
GUI::Application::the()->quit();
|
GUI::Application::the()->quit();
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue