mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
GLTeapot: Adds a help menu to the GLTeapot demo
Having a help menu maintains better consistency with the other GUI apps on the system.
This commit is contained in:
parent
d9dc42fab5
commit
132ecfc47b
1 changed files with 3 additions and 0 deletions
|
@ -194,6 +194,9 @@ int main(int argc, char** argv)
|
|||
app->quit();
|
||||
}));
|
||||
|
||||
auto& help_menu = menubar->add_menu("&Help");
|
||||
help_menu.add_action(GUI::CommonActions::make_about_action("GLTeapot", app_icon, window));
|
||||
|
||||
window->set_menubar(move(menubar));
|
||||
window->show();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue