mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Everywhere: Rename app_menu to file_menu, continued
These were missed in 4b0098e
.
This commit is contained in:
parent
790d68ac5e
commit
ff1d3f53c4
5 changed files with 9 additions and 9 deletions
|
@ -220,8 +220,8 @@ int main(int argc, char** argv)
|
|||
window->resize(640, 400);
|
||||
|
||||
auto menubar = GUI::Menubar::construct();
|
||||
auto& app_menu = menubar->add_menu("File");
|
||||
app_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }));
|
||||
auto& file_menu = menubar->add_menu("File");
|
||||
file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }));
|
||||
window->set_menubar(move(menubar));
|
||||
|
||||
auto& fire = window->set_main_widget<Fire>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue