diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-01 10:45:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-01 17:40:54 +0200 |
commit | 4b0098e52f860ac346c42ba8a3bfdebf1de37f56 (patch) | |
tree | b477de65ad7fc15a707dad93a0b8ead992bfda5b /Userland/Applications/FontEditor | |
parent | b119fa5a0a6c12877d90f947849d6db0ae426187 (diff) | |
download | serenity-4b0098e52f860ac346c42ba8a3bfdebf1de37f56.zip |
Everywhere: Rename app_menu to file_menu or game_menu
Diffstat (limited to 'Userland/Applications/FontEditor')
-rw-r--r-- | Userland/Applications/FontEditor/FontEditor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Applications/FontEditor/FontEditor.cpp b/Userland/Applications/FontEditor/FontEditor.cpp index db486e1c9a..338f08796b 100644 --- a/Userland/Applications/FontEditor/FontEditor.cpp +++ b/Userland/Applications/FontEditor/FontEditor.cpp @@ -531,13 +531,13 @@ void FontEditorWidget::initialize(const String& path, RefPtr<Gfx::BitmapFont>&& void FontEditorWidget::initialize_menubar(GUI::Menubar& menubar) { - auto& app_menu = menubar.add_menu("&File"); - app_menu.add_action(*m_new_action); - app_menu.add_action(*m_open_action); - app_menu.add_action(*m_save_action); - app_menu.add_action(*m_save_as_action); - app_menu.add_separator(); - app_menu.add_action(GUI::CommonActions::make_quit_action([this](auto&) { + auto& file_menu = menubar.add_menu("&File"); + file_menu.add_action(*m_new_action); + file_menu.add_action(*m_open_action); + file_menu.add_action(*m_save_action); + file_menu.add_action(*m_save_as_action); + file_menu.add_separator(); + file_menu.add_action(GUI::CommonActions::make_quit_action([this](auto&) { if (!request_close()) return; GUI::Application::the()->quit(); |