diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-02 17:07:49 +0000 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-02-07 10:43:15 +0000 |
commit | 89b8d346fe4e339ac80882d43062d03a71a0d5df (patch) | |
tree | 0ce1c187c32a1a19132684abac2abb0c139434c1 /Userland/Applications | |
parent | 65c8dfe923ed6b2be84e11dcdd45636222ca4d5a (diff) | |
download | serenity-89b8d346fe4e339ac80882d43062d03a71a0d5df.zip |
LibGUI+About: Make AboutDialog creation fallible
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/About/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/About/main.cpp b/Userland/Applications/About/main.cpp index b0d13322fd..cf84fbb3ba 100644 --- a/Userland/Applications/About/main.cpp +++ b/Userland/Applications/About/main.cpp @@ -21,6 +21,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::unveil(nullptr, nullptr)); auto app_icon = TRY(GUI::Icon::try_create_default_icon("ladyball"sv)); - GUI::AboutDialog::show("SerenityOS"sv, Core::Version::read_long_version_string(), app_icon.bitmap_for_size(32), nullptr, app_icon.bitmap_for_size(16)); + TRY(GUI::AboutDialog::show("SerenityOS"sv, Core::Version::read_long_version_string(), app_icon.bitmap_for_size(32), nullptr, app_icon.bitmap_for_size(16))); return app->exec(); } |