1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

LibGUI: Rename Button method set_mimic_pressed => mimic_pressed

This function does more things than a simple getter, so it's probably
better to not use this notation.

I also drop the parameter as it was always used with the same value.
This commit is contained in:
Lucas CHOLLET 2023-01-17 17:21:51 -05:00 committed by Andreas Kling
parent c15a7b79ef
commit 96b3063121
4 changed files with 5 additions and 5 deletions

View file

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