1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 13:15:08 +00:00

IRCClient: Add menus.

This commit is contained in:
Andreas Kling 2019-03-16 01:10:48 +01:00
parent 746144f783
commit 5c2d405e1f
6 changed files with 75 additions and 34 deletions

View file

@ -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)));
}