mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
LibGUI: Make Menu::add_recent_files_list() infallible
This commit is contained in:
parent
f2faf2767f
commit
676ef0cc3d
11 changed files with 20 additions and 21 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
[[nodiscard]] NonnullRefPtr<Menu> add_submenu(String name);
|
||||
void remove_all_actions();
|
||||
|
||||
ErrorOr<void> add_recent_files_list(Function<void(Action&)>);
|
||||
void add_recent_files_list(Function<void(Action&)>);
|
||||
|
||||
void popup(Gfx::IntPoint screen_position, RefPtr<Action> const& default_action = nullptr, Gfx::IntRect const& button_rect = {});
|
||||
void dismiss();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue