mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +00:00
WidgetGallery: Pledge thread
This is needed to use the file picker dialog.
This commit is contained in:
parent
57fc6eb9be
commit
22611ca136
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue