diff options
author | Cameron Youell <cameronyouell@gmail.com> | 2023-04-05 19:24:14 +1000 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-04-06 08:24:25 +0100 |
commit | 0c98cde18e9e16e7c64afe5ff602d2409d951ec6 (patch) | |
tree | 272c84dddbfd302f85535682e841e73d98d4e5f9 /Userland/DevTools | |
parent | 1080281e588eea7331ac3f41e32b29642256f104 (diff) | |
download | serenity-0c98cde18e9e16e7c64afe5ff602d2409d951ec6.zip |
GMLPlayground: Pledge Calendar domain
This now allows for the preview of `@GUI::Calendar` without
crashing the whole program.
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/GMLPlayground/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/GMLPlayground/main.cpp b/Userland/DevTools/GMLPlayground/main.cpp index e2323c71f6..8ff2819243 100644 --- a/Userland/DevTools/GMLPlayground/main.cpp +++ b/Userland/DevTools/GMLPlayground/main.cpp @@ -68,7 +68,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); - Config::pledge_domain("GMLPlayground"); + Config::pledge_domains({ "GMLPlayground", "Calendar" }); app->set_config_domain(TRY("GMLPlayground"_string)); TRY(Core::System::unveil("/res", "r")); |