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

LibGUI: Convert GTextBox, GTextEditor and GResizeCorner to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 15:43:52 +02:00
parent 4ea229accd
commit 93851c3832
25 changed files with 38 additions and 36 deletions

View file

@ -22,7 +22,7 @@ private:
void set_path(const FileSystemPath& file);
void update_title();
GTextEditor* m_editor { nullptr };
ObjectPtr<GTextEditor> m_editor;
String m_path;
String m_name;
String m_extension;
@ -35,7 +35,7 @@ private:
RefPtr<GAction> m_find_next_action;
RefPtr<GAction> m_find_previous_action;
GTextBox* m_find_textbox { nullptr };
ObjectPtr<GTextBox> m_find_textbox;
GButton* m_find_previous_button { nullptr };
GButton* m_find_next_button { nullptr };
GWidget* m_find_widget { nullptr };