mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:18:11 +00:00
MailSettings: Add unveil
This commit is contained in:
parent
9e6d8f7c25
commit
ea364af965
1 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue