diff options
Diffstat (limited to 'Userland/Applications/Browser/WindowActions.cpp')
-rw-r--r-- | Userland/Applications/Browser/WindowActions.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Userland/Applications/Browser/WindowActions.cpp b/Userland/Applications/Browser/WindowActions.cpp index a18e574307..ce2b9478cb 100644 --- a/Userland/Applications/Browser/WindowActions.cpp +++ b/Userland/Applications/Browser/WindowActions.cpp @@ -75,13 +75,7 @@ WindowActions::WindowActions(GUI::Window& window) &window)); m_tab_actions.last().set_status_tip("Switch to last tab"); - m_about_action = GUI::Action::create( - "&About Browser", GUI::Icon::default_icon("app-browser"sv).bitmap_for_size(16), [this](const GUI::Action&) { - if (on_about) - on_about(); - }, - &window); - m_about_action->set_status_tip("Show application about box"); + m_about_action = GUI::CommonActions::make_about_action("Browser", GUI::Icon::default_icon("app-browser"sv), &window); m_show_bookmarks_bar_action = GUI::Action::create_checkable( "&Bookmarks Bar", { Mod_Ctrl, Key_B }, |