1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

LibGUI+Browser: Set menu names using the new String class

This commit is contained in:
Karol Kosek 2023-04-16 11:36:57 +02:00 committed by Andreas Kling
parent 956f4d9205
commit dccd70385d
3 changed files with 1 additions and 7 deletions

View file

@ -89,11 +89,6 @@ void Menu::update_parent_menu_item()
}
}
void Menu::set_name(DeprecatedString name)
{
set_name(String::from_deprecated_string(name).release_value_but_fixme_should_propagate_errors());
}
void Menu::set_name(String name)
{
m_name = move(name);