mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +00:00
WindowServer: Make WSMenu's be children of the WSClientConnection
This commit is contained in:
parent
8aece8f5b7
commit
93f14966c0
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@
|
|||
#include <WindowServer/WSClientConnection.h>
|
||||
|
||||
WSMenu::WSMenu(WSClientConnection* client, int menu_id, const String& name)
|
||||
: m_client(client)
|
||||
: CObject(client)
|
||||
, m_client(client)
|
||||
, m_menu_id(menu_id)
|
||||
, m_name(move(name))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue