summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorDylan Katz <dykatz@uw.edu>2022-04-08 20:33:12 -0700
committerLinus Groh <mail@linusgroh.de>2022-04-22 09:57:40 +0200
commita79896bb4410409b466a4dcabded3f3e81187f0a (patch)
treee06eb994ba6ff11dd9306fc4583579dcaba499a7 /Userland/DevTools
parentec45ffadc2074eaf7826602e1b98b0e88813a024 (diff)
downloadserenity-a79896bb4410409b466a4dcabded3f3e81187f0a.zip
Documentation+SQLStudio: Add manual page for SQL Studio
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/SQLStudio/MainWidget.cpp3
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));
}