1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

Userland: Use non-fallible EventReceiver::add() where possible

This commit is contained in:
Tim Ledbetter 2023-09-22 22:28:59 +01:00 committed by Andreas Kling
parent 707ca984bd
commit b4e134cb52
54 changed files with 934 additions and 934 deletions

View file

@ -15,7 +15,7 @@ GalleryWidget::GalleryWidget()
auto& inner_widget = add<GUI::Widget>();
inner_widget.set_layout<GUI::VerticalBoxLayout>(4);
m_tab_widget = inner_widget.try_add<GUI::TabWidget>().release_value_but_fixme_should_propagate_errors();
m_tab_widget = inner_widget.add<GUI::TabWidget>();
m_statusbar = add<GUI::Statusbar>();
(void)load_basic_model_tab();