summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorCameron Youell <cameronyouell@gmail.com>2023-04-05 19:24:14 +1000
committerSam Atkins <atkinssj@gmail.com>2023-04-06 08:24:25 +0100
commit0c98cde18e9e16e7c64afe5ff602d2409d951ec6 (patch)
tree272c84dddbfd302f85535682e841e73d98d4e5f9 /Userland/DevTools
parent1080281e588eea7331ac3f41e32b29642256f104 (diff)
downloadserenity-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.cpp2
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"));