Userland: Always construct Application with try_create()

This commit is contained in:
Sam Atkins 2022-04-16 17:17:39 +01:00 committed by Andreas Kling
commit 73552c1856
Notes: sideshowbarker 2024-07-17 14:36:19 +09:00
22 changed files with 22 additions and 22 deletions

View file

@ -207,7 +207,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return 0;
}
auto app = GUI::Application::construct(arguments);
auto app = TRY(GUI::Application::try_create(arguments));
auto window = GUI::Window::construct();
window->set_minimizable(false);