mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
LibGUI+Userland: Remove Toolbar::try_add_{action,separator}()
These calls largely occur during initialization before there's unsaved state worth preserving
This commit is contained in:
parent
eafdb06d87
commit
57f3b18109
10 changed files with 109 additions and 131 deletions
|
@ -18,9 +18,6 @@ class Toolbar : public Widget {
|
|||
public:
|
||||
virtual ~Toolbar() override = default;
|
||||
|
||||
ErrorOr<NonnullRefPtr<GUI::Button>> try_add_action(GUI::Action&);
|
||||
ErrorOr<void> try_add_separator();
|
||||
|
||||
GUI::Button& add_action(GUI::Action&);
|
||||
void add_separator();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue