Skip to content

Commit

Permalink
WebWorker: Prefer the default EventLoopManager over Qt's specialization
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasChollet authored and ADKaster committed Jan 30, 2025
1 parent e015a43 commit a1cf527
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Services/WebWorker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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();
Expand Down

0 comments on commit a1cf527

Please sign in to comment.