mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
LibGUI: Remove Menu::try_add_separator()
And fall back to the infallible add_separator().
This commit is contained in:
parent
b679094529
commit
1525fa3b8f
41 changed files with 132 additions and 142 deletions
|
@ -226,7 +226,7 @@ ErrorOr<void> MainWidget::initialize_fallibles(GUI::Window& window)
|
|||
TRY(m_context_menu->try_add_action(*m_go_back_action));
|
||||
TRY(m_context_menu->try_add_action(*m_go_forward_action));
|
||||
TRY(m_context_menu->try_add_action(*m_go_home_action));
|
||||
TRY(m_context_menu->try_add_separator());
|
||||
m_context_menu->add_separator();
|
||||
TRY(m_context_menu->try_add_action(*m_copy_action));
|
||||
TRY(m_context_menu->try_add_action(*m_select_all_action));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue