1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:57:35 +00: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
55 changed files with 60 additions and 60 deletions

View file

@ -81,7 +81,7 @@ ErrorOr<void> run_file_operation(FileOperation operation, Vector<DeprecatedStrin
TRY(Core::System::close(pipe_fds[1]));
}
auto window = TRY(GUI::Window::try_create());
auto window = GUI::Window::construct();
TRY(file_operation_windows.try_set(window));
switch (operation) {