summaryrefslogtreecommitdiff
path: root/Applications/Terminal
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-02 19:46:35 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-02 19:46:35 +0200
commitaea6a28e9cbe311d6cd7dc94cb9b130896fa8d43 (patch)
tree39d91efe857948785554d184bb5fd5ebf9003fde /Applications/Terminal
parent5e34e43b0f9f44823f54ab5e784ed76bc33c73ed (diff)
downloadserenity-aea6a28e9cbe311d6cd7dc94cb9b130896fa8d43.zip
Terminal: Use GAboutDialog :^)
Diffstat (limited to 'Applications/Terminal')
-rw-r--r--Applications/Terminal/main.cpp5
1 files changed, 3 insertions, 2 deletions
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 <LibCore/CArgsParser.h>
#include <LibCore/CUserInfo.h>
#include <LibDraw/PNGLoader.h>
+#include <LibGUI/GAboutDialog.h>
#include <LibGUI/GAction.h>
#include <LibGUI/GApplication.h>
#include <LibGUI/GBoxLayout.h>
@@ -206,8 +207,8 @@ int main(int argc, char** argv)
menubar->add_menu(move(font_menu));
auto help_menu = make<GMenu>("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));