summaryrefslogtreecommitdiff
path: root/Applications/SoundPlayer
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-21 16:01:00 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-21 16:19:18 +0200
commit52a250cb614805134ef7e253a1866d69bcb99b9f (patch)
treeb04b88e62af46c7f67182db79382c4637a7f99be /Applications/SoundPlayer
parenta19690170f879ee16df5dd910064b00b92f793ca (diff)
downloadserenity-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/SoundPlayer')
-rw-r--r--Applications/SoundPlayer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SoundPlayer/main.cpp b/Applications/SoundPlayer/main.cpp
index 75d558693c..c2ad025f34 100644
--- a/Applications/SoundPlayer/main.cpp
+++ b/Applications/SoundPlayer/main.cpp
@@ -64,7 +64,7 @@ int main(int argc, char** argv)
window->set_rect(300, 300, 350, 140);
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-sound-player.png"));
- auto menubar = make<GUI::MenuBar>();
+ auto menubar = GUI::MenuBar::construct();
auto& app_menu = menubar->add_menu("SoundPlayer");
auto& player = window->set_main_widget<SoundPlayerWidget>(window, audio_client);