mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
WindowServer: Make MenuBar unaware of Process.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
#include "WSMenuBar.h"
|
||||
#include "WSMenu.h"
|
||||
#include "WSMenuItem.h"
|
||||
#include <Kernel/Process.h>
|
||||
|
||||
WSMenuBar::WSMenuBar(int menubar_id, Process& process)
|
||||
: m_menubar_id(menubar_id)
|
||||
, m_process(process.make_weak_ptr())
|
||||
WSMenuBar::WSMenuBar(int client_id, int menubar_id)
|
||||
: m_client_id(client_id)
|
||||
, m_menubar_id(menubar_id)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user