From 923979ca93005d7c14db547ee69bf52e071b1e32 Mon Sep 17 00:00:00 2001 From: Tobias Christiansen Date: Thu, 6 Jan 2022 12:38:54 +0100 Subject: [PATCH] PixelPaint: Unveil FileIconProvider.ini This is used by the Filter Gallery and previously complained in the debug log that it was not unveiled. --- Userland/Applications/PixelPaint/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/PixelPaint/main.cpp b/Userland/Applications/PixelPaint/main.cpp index 9b9fa75c20..0cd553322d 100644 --- a/Userland/Applications/PixelPaint/main.cpp +++ b/Userland/Applications/PixelPaint/main.cpp @@ -35,6 +35,7 @@ ErrorOr 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");