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

LibGUI: Remove public getter Button::is_mimic_pressed()

This method shouldn't be used outside the class and having a getter for
a bool seems a bit overkill.
This commit is contained in:
Lucas CHOLLET 2023-01-17 17:15:25 -05:00 committed by Andreas Kling
parent 56ceb6a106
commit c15a7b79ef
2 changed files with 2 additions and 3 deletions

View file

@ -64,7 +64,6 @@ public:
bool another_button_has_focus() const { return m_another_button_has_focus; }
void set_mimic_pressed(bool mimic_pressed);
bool is_mimic_pressed() const { return m_mimic_pressed; };
virtual Optional<UISize> calculated_min_size() const override;