mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:37:36 +00:00
WindowServer+LibGUI: Port WindowServer's Menu name to new String
This commit is contained in:
parent
51bd9ca037
commit
7e33857afa
7 changed files with 15 additions and 15 deletions
|
@ -718,7 +718,7 @@ void Window::request_update(Gfx::IntRect const& rect, bool ignore_occlusion)
|
|||
void Window::ensure_window_menu()
|
||||
{
|
||||
if (!m_window_menu) {
|
||||
m_window_menu = Menu::construct(nullptr, -1, "(Window Menu)");
|
||||
m_window_menu = Menu::construct(nullptr, -1, "(Window Menu)"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_window_menu->set_window_menu_of(*this);
|
||||
|
||||
auto minimize_item = make<MenuItem>(*m_window_menu, (unsigned)WindowMenuAction::MinimizeOrUnminimize, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue