Ver código fonte

GMLPlayground: Pledge Calendar domain

This now allows for the preview of `@GUI::Calendar` without
crashing the whole program.
Cameron Youell 2 anos atrás
pai
commit
0c98cde18e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Userland/DevTools/GMLPlayground/main.cpp

+ 1 - 1
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"));