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
Notes: sideshowbarker 2024-07-17 21:33:47 +09:00

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");