mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +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
|
@ -83,7 +83,7 @@ ErrorOr<void> BackgroundSettingsWidget::create_frame()
|
|||
});
|
||||
m_context_menu->add_action(*m_show_in_file_manager_action);
|
||||
|
||||
TRY(m_context_menu->try_add_separator());
|
||||
m_context_menu->add_separator();
|
||||
m_copy_action = GUI::CommonActions::make_copy_action(
|
||||
[this](auto&) {
|
||||
auto wallpaper = m_monitor_widget->wallpaper();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue