diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 16:06:43 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 16:06:43 +0200 |
commit | efb8f9d538724d5ee7420f055f049498021e7551 (patch) | |
tree | 5cb1c63d9c67597dc697b32757f26a5e82597ca7 /Libraries/LibGUI | |
parent | e7b55037f48b8fcddbe283598cad4ef7dcf323f5 (diff) | |
download | serenity-efb8f9d538724d5ee7420f055f049498021e7551.zip |
LibGUI: Convert GTreeView to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/GTreeView.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GTreeView.h b/Libraries/LibGUI/GTreeView.h index d08b9931e3..ece094a3a6 100644 --- a/Libraries/LibGUI/GTreeView.h +++ b/Libraries/LibGUI/GTreeView.h @@ -5,12 +5,13 @@ class GTreeView : public GAbstractView { C_OBJECT(GTreeView) public: - explicit GTreeView(GWidget*); virtual ~GTreeView() override; virtual void scroll_into_view(const GModelIndex&, Orientation); protected: + explicit GTreeView(GWidget*); + virtual void paint_event(GPaintEvent&) override; virtual void mousedown_event(GMouseEvent&) override; virtual void doubleclick_event(GMouseEvent&) override; |