From aea6a28e9cbe311d6cd7dc94cb9b130896fa8d43 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 2 Sep 2019 19:46:35 +0200 Subject: Terminal: Use GAboutDialog :^) --- Applications/Terminal/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Applications/Terminal') diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index 68008bc114..7545ed180e 100644 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -206,8 +207,8 @@ int main(int argc, char** argv) menubar->add_menu(move(font_menu)); auto help_menu = make("Help"); - help_menu->add_action(GAction::create("About", [](const GAction&) { - dbgprintf("FIXME: Implement Help/About\n"); + help_menu->add_action(GAction::create("About", [&](const GAction&) { + GAboutDialog::show("Terminal", load_png("/res/icons/32x32/app-terminal.png"), window); })); menubar->add_menu(move(help_menu)); -- cgit v1.2.3