diff options
author | Dylan Katz <dykatz@uw.edu> | 2022-04-08 20:33:12 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-22 09:57:40 +0200 |
commit | a79896bb4410409b466a4dcabded3f3e81187f0a (patch) | |
tree | e06eb994ba6ff11dd9306fc4583579dcaba499a7 /Userland/DevTools | |
parent | ec45ffadc2074eaf7826602e1b98b0e88813a024 (diff) | |
download | serenity-a79896bb4410409b466a4dcabded3f3e81187f0a.zip |
Documentation+SQLStudio: Add manual page for SQL Studio
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/SQLStudio/MainWidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/DevTools/SQLStudio/MainWidget.cpp b/Userland/DevTools/SQLStudio/MainWidget.cpp index 87a30b4db8..e353de32cb 100644 --- a/Userland/DevTools/SQLStudio/MainWidget.cpp +++ b/Userland/DevTools/SQLStudio/MainWidget.cpp @@ -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)); } |