LibCore: Remove ability to post heap-allocated Core::Event objects

We no longer need this API since all clients have been converted to
simply posting the Core::Event::Type (or a callback function).
This commit is contained in:
Andreas Kling 2025-12-03 12:00:22 +01:00 committed by Andreas Kling
parent 2a1c5dc108
commit cebc4d00dd
Notes: github-actions[bot] 2025-12-03 12:27:38 +00:00
14 changed files with 1 additions and 69 deletions

View file

@ -252,13 +252,6 @@ bool EventLoopImplementationQt::was_exit_requested() const
return !m_event_loop->isRunning();
}
void EventLoopImplementationQt::post_event(Core::EventReceiver* receiver, NonnullOwnPtr<Core::Event>&& event)
{
m_thread_event_queue.post_event(receiver, move(event));
if (&m_thread_event_queue != &Core::ThreadEventQueue::current())
wake();
}
void EventLoopImplementationQt::set_main_loop()
{
m_main_loop = true;