1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

GButton: Convert most code to using ObjectPtr for GButton

This commit is contained in:
Andreas Kling 2019-09-21 19:28:28 +02:00
parent 55a6e4ac0b
commit 45cfd57f6e
20 changed files with 38 additions and 38 deletions

View file

@ -28,8 +28,8 @@ protected:
private:
ObjectPtr<GTextEditor> m_editor;
GButton* m_increment_button { nullptr };
GButton* m_decrement_button { nullptr };
ObjectPtr<GButton> m_increment_button;
ObjectPtr<GButton> m_decrement_button;
int m_min { 0 };
int m_max { 100 };