summaryrefslogtreecommitdiff
path: root/Games/Minesweeper
diff options
context:
space:
mode:
Diffstat (limited to 'Games/Minesweeper')
-rw-r--r--Games/Minesweeper/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp
index 80f4ad71c6..c0bc6da998 100644
--- a/Games/Minesweeper/main.cpp
+++ b/Games/Minesweeper/main.cpp
@@ -1,6 +1,7 @@
#include "Field.h"
#include <LibCore/CConfigFile.h>
#include <LibDraw/PNGLoader.h>
+#include <LibGUI/GAboutDialog.h>
#include <LibGUI/GAction.h>
#include <LibGUI/GApplication.h>
#include <LibGUI/GBoxLayout.h>
@@ -89,8 +90,8 @@ int main(int argc, char** argv)
menubar->add_menu(move(difficulty_menu));
auto help_menu = GMenu::construct("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("Minesweeper", load_png("/res/icons/32x32/app-minesweeper.png"), window);
}));
menubar->add_menu(move(help_menu));