summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/ScrollBar.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/ScrollBar.h')
-rw-r--r--Libraries/LibGUI/ScrollBar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/ScrollBar.h b/Libraries/LibGUI/ScrollBar.h
index d65d4f6186..556dbff0f2 100644
--- a/Libraries/LibGUI/ScrollBar.h
+++ b/Libraries/LibGUI/ScrollBar.h
@@ -65,8 +65,8 @@ public:
};
private:
- explicit ScrollBar(Widget* parent);
- explicit ScrollBar(Orientation, Widget* parent);
+ explicit ScrollBar(Widget* parent = nullptr);
+ explicit ScrollBar(Orientation, Widget* parent = nullptr);
virtual void paint_event(PaintEvent&) override;
virtual void mousedown_event(MouseEvent&) override;