diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-21 16:01:00 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-21 16:19:18 +0200 |
commit | 52a250cb614805134ef7e253a1866d69bcb99b9f (patch) | |
tree | b04b88e62af46c7f67182db79382c4637a7f99be /Applications/FileManager | |
parent | a19690170f879ee16df5dd910064b00b92f793ca (diff) | |
download | serenity-52a250cb614805134ef7e253a1866d69bcb99b9f.zip |
LibGUI: Make MenuBar a Core::Object
This makes it show up in Inspector with all the menus inside it. :^)
Diffstat (limited to 'Applications/FileManager')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index fca3215f97..c37b8d3deb 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -534,7 +534,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio }, window); - auto menubar = make<GUI::MenuBar>(); + auto menubar = GUI::MenuBar::construct(); auto& app_menu = menubar->add_menu("File Manager"); app_menu.add_action(mkdir_action); |