mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
WidgetGallery: Make inspectable
WidgetGallery is only a demo anyways, and the perfect target to test the Inspector.
This commit is contained in:
parent
23db98d1e9
commit
dfefd1ec88
Notes:
sideshowbarker
2024-07-17 08:54:34 +09:00
Author: https://github.com/frhun Commit: https://github.com/SerenityOS/serenity/commit/dfefd1ec88 Pull-request: https://github.com/SerenityOS/serenity/pull/14471 Reviewed-by: https://github.com/alimpfard
@ -15,7 +15,7 @@
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix thread"));
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
auto app = TRY(GUI::Application::try_create(arguments, Core::EventLoop::MakeInspectable::Yes));
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread"));
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
|
Loading…
Reference in New Issue
Block a user