diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-01-07 12:33:53 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-07 14:39:30 +0100 |
commit | 54b1326165dd97ae3dab82360d0e7b029650004d (patch) | |
tree | bf0761a91ae3717da5e59356108e6d3260fd9137 /Userland/Demos/ModelGallery | |
parent | 703da34947b147763815da9fee89ce2ba05372b7 (diff) | |
download | serenity-54b1326165dd97ae3dab82360d0e7b029650004d.zip |
Userland: Replace all uses of `load_from_gml` with `try_load_from_gml`
MOAR FIXMES! ;^)
Diffstat (limited to 'Userland/Demos/ModelGallery')
-rw-r--r-- | Userland/Demos/ModelGallery/GalleryWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/ModelGallery/GalleryWidget.cpp b/Userland/Demos/ModelGallery/GalleryWidget.cpp index 1c4bace5d6..5808d82cd8 100644 --- a/Userland/Demos/ModelGallery/GalleryWidget.cpp +++ b/Userland/Demos/ModelGallery/GalleryWidget.cpp @@ -26,7 +26,7 @@ GalleryWidget::GalleryWidget() ErrorOr<void> GalleryWidget::load_basic_model_tab() { auto tab = TRY(m_tab_widget->try_add_tab<GUI::Widget>("Basic Model")); - tab->load_from_gml(basic_model_tab_gml); + TRY(tab->try_load_from_gml(basic_model_tab_gml)); m_basic_model = BasicModel::create(); m_basic_model_table = *tab->find_descendant_of_type_named<GUI::TableView>("model_table"); |