mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:37:36 +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
|
@ -42,7 +42,6 @@ public:
|
|||
Action* action_at(size_t);
|
||||
|
||||
ErrorOr<void> try_add_action(NonnullRefPtr<Action>);
|
||||
ErrorOr<void> try_add_separator();
|
||||
ErrorOr<NonnullRefPtr<Menu>> try_add_submenu(String name);
|
||||
|
||||
void add_action(NonnullRefPtr<Action>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue