mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
We currently compile the Qt event loop files multiple times, for every target which wants to use them. This patch moves these to LibWebView as a central location to avoid this.
17 lines
410 B
C++
17 lines
410 B
C++
/*
|
|
* Copyright (c) 2023, Gregory Bertilson <zaggy1024@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWebView/EventLoop/EventLoopImplementationQt.h>
|
|
#include <LibWebView/EventLoop/EventLoopImplementationQtEventTarget.h>
|
|
|
|
namespace WebView {
|
|
|
|
bool EventLoopImplementationQtEventTarget::event(QEvent* event)
|
|
{
|
|
return EventLoopManagerQt::event_target_received_event({}, event);
|
|
}
|
|
|
|
}
|