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:
parent
4ea229accd
commit
93851c3832
25 changed files with 38 additions and 36 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue