summaryrefslogtreecommitdiff
path: root/Applications/Spreadsheet/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-04 23:51:49 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-04 23:51:49 +0100
commitfedf561f577711ea190e128f38556e6346acfbe4 (patch)
tree883ead673896e21ce78d8f51a0c2777e06a7c236 /Applications/Spreadsheet/main.cpp
parentf0a59ab7fb92dd0df96c4f8e6f696b62cbce9af8 (diff)
downloadserenity-fedf561f577711ea190e128f38556e6346acfbe4.zip
Everywhere: Use GUI::CommonActions::make_about_action()
Diffstat (limited to 'Applications/Spreadsheet/main.cpp')
-rw-r--r--Applications/Spreadsheet/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Applications/Spreadsheet/main.cpp b/Applications/Spreadsheet/main.cpp
index df806add79..5b7663e44f 100644
--- a/Applications/Spreadsheet/main.cpp
+++ b/Applications/Spreadsheet/main.cpp
@@ -30,7 +30,6 @@
#include <AK/ScopeGuard.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/File.h>
-#include <LibGUI/AboutDialog.h>
#include <LibGUI/Application.h>
#include <LibGUI/Clipboard.h>
#include <LibGUI/FilePicker.h>
@@ -244,9 +243,7 @@ int main(int argc, char* argv[])
app_menu.add_separator();
- help_menu.add_action(GUI::Action::create("About", [&](auto&) {
- GUI::AboutDialog::show("Spreadsheet", app_icon.bitmap_for_size(32), window);
- }));
+ help_menu.add_action(GUI::CommonActions::make_about_action("Spreadsheet", app_icon, window));
app->set_menubar(move(menubar));