1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

WindowServer+LibGUI: Port WindowServer's Menu name to new String

This commit is contained in:
Karol Kosek 2023-04-16 12:45:43 +02:00 committed by Andreas Kling
parent 51bd9ca037
commit 7e33857afa
7 changed files with 15 additions and 15 deletions

View file

@ -90,13 +90,13 @@ void ConnectionFromClient::notify_about_new_screen_rects()
async_screen_rects_changed(Screen::rects(), Screen::main().index(), wm.window_stack_rows(), wm.window_stack_columns());
}
void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& name)
void ConnectionFromClient::create_menu(i32 menu_id, String const& name)
{
auto menu = Menu::construct(this, menu_id, name);
m_menus.set(menu_id, move(menu));
}
void ConnectionFromClient::set_menu_name(i32 menu_id, DeprecatedString const& name)
void ConnectionFromClient::set_menu_name(i32 menu_id, String const& name)
{
auto it = m_menus.find(menu_id);
if (it == m_menus.end()) {