mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibGUI: Remove Menu::try_add_action()
And fall back to the infallible add_action().
This commit is contained in:
parent
eec328e2ab
commit
f2faf2767f
51 changed files with 758 additions and 769 deletions
|
@ -41,8 +41,6 @@ public:
|
|||
|
||||
Action* action_at(size_t);
|
||||
|
||||
ErrorOr<void> try_add_action(NonnullRefPtr<Action>);
|
||||
|
||||
void add_action(NonnullRefPtr<Action>);
|
||||
void add_separator();
|
||||
[[nodiscard]] NonnullRefPtr<Menu> add_submenu(String name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue