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:
parent
956f4d9205
commit
dccd70385d
3 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue