1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:18:11 +00:00

MailSettings: Add unveil

This commit is contained in:
Luke Wilde 2021-08-28 15:05:10 +01:00 committed by Andreas Kling
parent 9e6d8f7c25
commit ea364af965

View file

@ -26,6 +26,16 @@ int main(int argc, char** argv)
return 1;
}
if (unveil("/res", "r") < 0) {
perror("unveil");
return 1;
}
if (unveil(nullptr, nullptr)) {
perror("unveil");
return 1;
}
auto app_icon = GUI::Icon::default_icon("app-mail");
auto window = MailSettingsWindow::construct();