1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:37:37 +00:00

PDFViewer: Add list of recently-opened files

This commit is contained in:
Sam Atkins 2023-04-03 14:30:22 +01:00 committed by Andreas Kling
parent 15532df83d
commit 5c76b63f79
2 changed files with 9 additions and 0 deletions

View file

@ -27,6 +27,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-pdf-viewer"sv);
Config::pledge_domain("PDFViewer");
app->set_config_domain(TRY("PDFViewer"_string));
auto window = TRY(GUI::Window::try_create());
window->set_title("PDF Viewer");