1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09:00

Userland: Make GUI::Window construction non-fallible

This commit is contained in:
Tim Ledbetter 2023-09-16 12:51:33 +01:00 committed by Andrew Kaster
parent b6b2c6f3e2
commit 0d7b13edac
Notes: sideshowbarker 2024-07-17 09:49:33 +09:00
55 changed files with 60 additions and 60 deletions

View file

@ -29,7 +29,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
Config::pledge_domain("PDFViewer");
app->set_config_domain("PDFViewer"_string);
auto window = TRY(GUI::Window::try_create());
auto window = GUI::Window::construct();
window->set_title("PDF Viewer");
window->resize(640, 400);