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

Documentation+SQLStudio: Add manual page for SQL Studio

This commit is contained in:
Dylan Katz 2022-04-08 20:33:12 -07:00 committed by Linus Groh
parent ec45ffadc2
commit a79896bb44
2 changed files with 31 additions and 0 deletions

View file

@ -205,6 +205,9 @@ void MainWidget::initialize_menu(GUI::Window* window)
edit_menu.add_action(*m_redo_action);
auto& help_menu = window->add_menu("&Help");
help_menu.add_action(GUI::CommonActions::make_help_action([](auto&) {
Desktop::Launcher::open(URL::create_with_file_protocol("/usr/share/man/man1/SQLStudio.md"), "/bin/Help");
}));
help_menu.add_action(GUI::CommonActions::make_about_action("SQL Studio", GUI::Icon::default_icon("app-sql-studio"), window));
}