1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

PixelPaint: Unveil FileIconProvider.ini

This is used by the Filter Gallery and previously complained in the
debug log that it was not unveiled.
This commit is contained in:
Tobias Christiansen 2022-01-06 12:38:54 +01:00 committed by Andreas Kling
parent 0ac7931545
commit 923979ca93

View file

@ -35,6 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/tmp/portal/clipboard", "rw"));
TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/tmp/portal/image", "rw"));
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");