mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +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:
parent
0ac7931545
commit
923979ca93
1 changed files with 1 additions and 0 deletions
|
@ -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/clipboard", "rw"));
|
||||||
TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
|
TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
|
||||||
TRY(Core::System::unveil("/tmp/portal/image", "rw"));
|
TRY(Core::System::unveil("/tmp/portal/image", "rw"));
|
||||||
|
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
|
||||||
TRY(Core::System::unveil(nullptr, nullptr));
|
TRY(Core::System::unveil(nullptr, nullptr));
|
||||||
|
|
||||||
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
|
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue