mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:17:43 +00:00
LibGUI: Remove Layout::try_add_spacer()
And fall back to the infallible add_spacer(). Work towards #20557.
This commit is contained in:
parent
8322b31b97
commit
58e482a06d
22 changed files with 28 additions and 35 deletions
|
@ -174,7 +174,7 @@ ErrorOr<void> Toolbar::create_overflow_objects()
|
|||
m_overflow_action->set_status_tip("Show hidden toolbar actions"_string);
|
||||
m_overflow_action->set_enabled(false);
|
||||
|
||||
TRY(add_spacer());
|
||||
add_spacer();
|
||||
|
||||
m_overflow_button = TRY(try_add_action(*m_overflow_action));
|
||||
m_overflow_button->set_visible(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue