mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 13:15:08 +00:00
IRCClient: Add menus.
This commit is contained in:
parent
746144f783
commit
5c2d405e1f
6 changed files with 75 additions and 34 deletions
|
@ -29,7 +29,7 @@ GMenu::~GMenu()
|
|||
unrealize_menu();
|
||||
}
|
||||
|
||||
void GMenu::add_action(RetainPtr<GAction>&& action)
|
||||
void GMenu::add_action(Retained<GAction>&& action)
|
||||
{
|
||||
m_items.append(make<GMenuItem>(move(action)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue