mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +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
|
@ -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…
Reference in a new issue