mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
MailSettings: Add unveil
This commit is contained in:
parent
9e6d8f7c25
commit
ea364af965
Notes:
sideshowbarker
2024-07-18 05:07:38 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/ea364af9654 Pull-request: https://github.com/SerenityOS/serenity/pull/9663
@ -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…
Reference in New Issue
Block a user