summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-04-16 17:17:39 +0100
committerAndreas Kling <kling@serenityos.org>2022-04-18 12:57:34 +0200
commit73552c18568b8f7e08cd8c474689f922d9bfe659 (patch)
tree088559fc835dfefd233bdb28ca98404eee411469 /Userland/Applications/Spreadsheet
parentcd7037afd5b97260b69dd3c5cfec9b191b325fb5 (diff)
downloadserenity-73552c18568b8f7e08cd8c474689f922d9bfe659.zip
Userland: Always construct Application with try_create()
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-rw-r--r--Userland/Applications/Spreadsheet/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/main.cpp b/Userland/Applications/Spreadsheet/main.cpp
index 657f6b25e3..25e03aad3d 100644
--- a/Userland/Applications/Spreadsheet/main.cpp
+++ b/Userland/Applications/Spreadsheet/main.cpp
@@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio recvfd sendfd rpath fattr unix cpath wpath thread"));
- auto app = GUI::Application::construct(arguments);
+ auto app = TRY(GUI::Application::try_create(arguments));
char const* filename = nullptr;