mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03: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
Notes:
sideshowbarker
2024-07-17 21:33:47 +09:00
Author: https://github.com/TobyAsE Commit: https://github.com/SerenityOS/serenity/commit/923979ca930 Pull-request: https://github.com/SerenityOS/serenity/pull/11665
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user