1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:07:45 +00:00

LibGUI: Remove useless frame members from Toolbar

Frames had no effect within Toolbar and are now superceded
by ToolbarContainer.
This commit is contained in:
thankyouverycool 2022-07-27 07:40:30 -04:00 committed by Andreas Kling
parent 34ae69b99d
commit 99a00dc39b
2 changed files with 0 additions and 4 deletions

View file

@ -24,8 +24,6 @@ public:
GUI::Button& add_action(GUI::Action&);
void add_separator();
bool has_frame() const { return m_has_frame; }
void set_has_frame(bool has_frame) { m_has_frame = has_frame; }
virtual Optional<UISize> calculated_preferred_size() const override;
@ -47,7 +45,6 @@ private:
NonnullOwnPtrVector<Item> m_items;
const Gfx::Orientation m_orientation;
int m_button_size { 16 };
bool m_has_frame { true };
};
}