mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 16:46:08 +00: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: dfefd1ec88
Pull-request: https://github.com/SerenityOS/serenity/pull/14471
Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue