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:
Tim Ledbetter 2024-01-18 18:20:31 +00:00 committed by Andreas Kling
parent 2505cecc0f
commit 0d8a013ee1

View file

@ -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();