diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 17:05:35 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 17:05:35 +0200 |
commit | ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea (patch) | |
tree | 8a66cc12d14da634984978aa387a92537d161915 /Libraries/LibGUI/GAbstractView.h | |
parent | e4e92980a17449abb315e2267c897529f700525e (diff) | |
download | serenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip |
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI/GAbstractView.h')
-rw-r--r-- | Libraries/LibGUI/GAbstractView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GAbstractView.h b/Libraries/LibGUI/GAbstractView.h index 04496027e5..444d7acc4e 100644 --- a/Libraries/LibGUI/GAbstractView.h +++ b/Libraries/LibGUI/GAbstractView.h @@ -52,7 +52,7 @@ protected: bool m_editable { false }; GModelIndex m_edit_index; - GWidget* m_edit_widget { nullptr }; + ObjectPtr<GWidget> m_edit_widget; Rect m_edit_widget_content_rect; private: |