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

LibGUI: Convert GStatusBar to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:29:47 +02:00
parent f4531c976c
commit 3476a63415
5 changed files with 12 additions and 8 deletions

View file

@ -10,6 +10,7 @@
class GButton;
class GTextBox;
class GTextEditor;
class GStatusBar;
class TextEditorWidget final : public GWidget {
public:
@ -35,6 +36,8 @@ private:
RefPtr<GAction> m_find_next_action;
RefPtr<GAction> m_find_previous_action;
ObjectPtr<GStatusBar> m_statusbar;
ObjectPtr<GTextBox> m_find_textbox;
GButton* m_find_previous_button { nullptr };
GButton* m_find_next_button { nullptr };