summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GAbstractView.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 17:05:35 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 17:05:35 +0200
commitff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea (patch)
tree8a66cc12d14da634984978aa387a92537d161915 /Libraries/LibGUI/GAbstractView.h
parente4e92980a17449abb315e2267c897529f700525e (diff)
downloadserenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI/GAbstractView.h')
-rw-r--r--Libraries/LibGUI/GAbstractView.h2
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: