1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

Browser: Move the "About" action to WindowActions

This commit is contained in:
Andreas Kling 2020-04-24 20:50:06 +02:00
parent 45a932a600
commit 3fcfab4404
4 changed files with 16 additions and 4 deletions

View file

@ -36,6 +36,13 @@ WindowActions::WindowActions(GUI::Window& window)
on_previous_tab();
},
&window);
m_about_action = GUI::Action::create(
"About", [this](const GUI::Action&) {
if (on_about)
on_about();
},
&window);
}
}