mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
SoundPlayer: Pledge "FileManager" config domain
This stops SoundPlayer from crashing when attempting to open a sound file from inside the GUI
This commit is contained in:
parent
e758545b91
commit
8d0985ef01
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto audio_client = TRY(Audio::ConnectionToServer::try_create());
|
||||
auto decoder_client = TRY(ImageDecoderClient::Client::try_create());
|
||||
|
||||
Config::pledge_domain("SoundPlayer");
|
||||
Config::pledge_domains({ "SoundPlayer", "FileManager" });
|
||||
app->set_config_domain(TRY("SoundPlayer"_string));
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread proc"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue