summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 16:06:43 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 16:06:43 +0200
commitefb8f9d538724d5ee7420f055f049498021e7551 (patch)
tree5cb1c63d9c67597dc697b32757f26a5e82597ca7 /Libraries/LibGUI
parente7b55037f48b8fcddbe283598cad4ef7dcf323f5 (diff)
downloadserenity-efb8f9d538724d5ee7420f055f049498021e7551.zip
LibGUI: Convert GTreeView to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r--Libraries/LibGUI/GTreeView.h3
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;