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:
parent
45a932a600
commit
3fcfab4404
4 changed files with 16 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue