diff options
author | Andreas Kling <kling@serenityos.org> | 2021-03-25 21:41:39 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-25 22:14:09 +0100 |
commit | 78b12e1521a5ab4e0a212c0e125b76a813be6f64 (patch) | |
tree | 63b47fca86bfba4ef53d62f301856e63f5bb2f28 /Userland/DevTools/Playground/main.cpp | |
parent | fcc8e3484f9c2312d80063fe8d6251830609385a (diff) | |
download | serenity-78b12e1521a5ab4e0a212c0e125b76a813be6f64.zip |
Userland: Turn all application menus into window menus :^)
Diffstat (limited to 'Userland/DevTools/Playground/main.cpp')
-rw-r--r-- | Userland/DevTools/Playground/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/Playground/main.cpp b/Userland/DevTools/Playground/main.cpp index dc63bd47b6..06e554e4e2 100644 --- a/Userland/DevTools/Playground/main.cpp +++ b/Userland/DevTools/Playground/main.cpp @@ -330,7 +330,7 @@ int main(int argc, char** argv) }; auto menubar = GUI::MenuBar::construct(); - auto& app_menu = menubar->add_menu("GML Playground"); + auto& app_menu = menubar->add_menu("File"); app_menu.add_action(GUI::CommonActions::make_open_action([&](auto&) { Optional<String> open_path = GUI::FilePicker::get_open_filepath(window); @@ -400,7 +400,7 @@ int main(int argc, char** argv) })); help_menu.add_action(GUI::CommonActions::make_about_action("GML Playground", app_icon, window)); - app->set_menubar(move(menubar)); + window->set_menubar(move(menubar)); window->show(); return app->exec(); |