diff options
author | Marcus Nilsson <brainbomb@gmail.com> | 2021-07-17 15:01:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-17 23:30:58 +0200 |
commit | 22611ca13667928e4f57795979027e87c1e66600 (patch) | |
tree | b95867da726097b6d6233f5146f8f20712ce8853 /Userland/Demos/WidgetGallery/main.cpp | |
parent | 57fc6eb9be4db455df2b0cf8136ab4b4d9ec2312 (diff) | |
download | serenity-22611ca13667928e4f57795979027e87c1e66600.zip |
WidgetGallery: Pledge thread
This is needed to use the file picker dialog.
Diffstat (limited to 'Userland/Demos/WidgetGallery/main.cpp')
-rw-r--r-- | Userland/Demos/WidgetGallery/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Demos/WidgetGallery/main.cpp b/Userland/Demos/WidgetGallery/main.cpp index 2a8f71e785..4dae3b0d25 100644 --- a/Userland/Demos/WidgetGallery/main.cpp +++ b/Userland/Demos/WidgetGallery/main.cpp @@ -15,14 +15,14 @@ int main(int argc, char** argv) { - if (pledge("stdio recvfd sendfd rpath unix", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath unix thread", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) { + if (pledge("stdio recvfd sendfd rpath thread", nullptr) < 0) { perror("pledge"); return 1; } |