mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
SoundPlayer: Don't drop the unix pledge
Without it, `SoundPlayer` crashes as soon as you try to open a file.
This commit is contained in:
parent
2505cecc0f
commit
0d8a013ee1
1 changed files with 0 additions and 2 deletions
|
@ -43,8 +43,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
Config::pledge_domains({ "SoundPlayer", "FileManager" });
|
||||
app->set_config_domain("SoundPlayer"_string);
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread proc"));
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-sound-player"sv);
|
||||
|
||||
auto window = GUI::Window::construct();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue