1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

LibGUI+Userland: Make Window::*add_menu take name using new string

This commit is contained in:
Karol Kosek 2023-04-16 11:56:01 +02:00 committed by Andreas Kling
parent 60a338758c
commit 969543a847
52 changed files with 162 additions and 162 deletions

View file

@ -218,8 +218,8 @@ public:
void did_disable_focused_widget(Badge<Widget>);
Menu& add_menu(DeprecatedString name);
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(DeprecatedString name);
Menu& add_menu(String name);
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(String name);
ErrorOr<void> try_add_menu(NonnullRefPtr<Menu> menu);
void flash_menubar_menu_for(MenuItem const&);