mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
WebWorker: Prefer the default EventLoopManager over Qt's specialization
This commit is contained in:
parent
e015a43b51
commit
a1cf5271c2
Notes:
github-actions[bot]
2025-01-30 22:35:34 +00:00
Author: https://github.com/LucasChollet
Commit: a1cf5271c2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3145
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 0 additions and 9 deletions
|
@ -24,11 +24,6 @@
|
|||
#include <LibWebView/Utilities.h>
|
||||
#include <WebWorker/ConnectionFromClient.h>
|
||||
|
||||
#if defined(HAVE_QT)
|
||||
# include <LibWebView/EventLoop/EventLoopImplementationQt.h>
|
||||
# include <QCoreApplication>
|
||||
#endif
|
||||
|
||||
static ErrorOr<void> initialize_resource_loader(GC::Heap&, int request_server_socket);
|
||||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
|
@ -50,10 +45,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
if (wait_for_debugger)
|
||||
Core::Process::wait_for_debugger_and_break();
|
||||
|
||||
#if defined(HAVE_QT)
|
||||
QCoreApplication app(arguments.argc, arguments.argv);
|
||||
Core::EventLoopManager::install(*new WebView::EventLoopManagerQt);
|
||||
#endif
|
||||
Core::EventLoop event_loop;
|
||||
|
||||
WebView::platform_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue