Skip to content

Commit dfefd1e

Browse files
frhunawesomekling
authored andcommitted
WidgetGallery: Make inspectable
WidgetGallery is only a demo anyways, and the perfect target to test the Inspector.
1 parent 23db98d commit dfefd1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Demos/WidgetGallery/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ErrorOr<int> serenity_main(Main::Arguments arguments)
1616
{
1717
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix thread"));
18-
auto app = TRY(GUI::Application::try_create(arguments));
18+
auto app = TRY(GUI::Application::try_create(arguments, Core::EventLoop::MakeInspectable::Yes));
1919

2020
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread"));
2121
TRY(Core::System::unveil("/res", "r"));

0 commit comments

Comments
 (0)