diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-20 01:01:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-20 01:27:39 +0200 |
commit | 20b104dead7d712b8f2f9c039e1bad76f76c7fb8 (patch) | |
tree | dbf351312d5fe579e2349eaf971b0138b5bd3f65 /Userland/Demos | |
parent | cf271183b4befeba7c96bd6ca25246b899e836bb (diff) | |
download | serenity-20b104dead7d712b8f2f9c039e1bad76f76c7fb8.zip |
WidgetGallery: Remove menubar
Diffstat (limited to 'Userland/Demos')
-rw-r--r-- | Userland/Demos/WidgetGallery/main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Userland/Demos/WidgetGallery/main.cpp b/Userland/Demos/WidgetGallery/main.cpp index ac514cb618..4f92b13ada 100644 --- a/Userland/Demos/WidgetGallery/main.cpp +++ b/Userland/Demos/WidgetGallery/main.cpp @@ -8,8 +8,6 @@ #include "GalleryWidget.h" #include <LibGUI/Application.h> #include <LibGUI/Icon.h> -#include <LibGUI/Menu.h> -#include <LibGUI/Menubar.h> #include <LibGUI/Window.h> #include <unistd.h> @@ -54,13 +52,6 @@ int main(int argc, char** argv) window->set_title("Widget Gallery"); window->set_icon(app_icon.bitmap_for_size(16)); window->set_main_widget<GalleryWidget>(); - - auto& file_menu = window->add_menu("&File"); - file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); })); - - auto& help_menu = window->add_menu("&Help"); - help_menu.add_action(GUI::CommonActions::make_about_action("Widget Gallery", app_icon, window)); - window->show(); return app->exec(); |