summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/RadioButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/RadioButton.h')
-rw-r--r--Libraries/LibGUI/RadioButton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/RadioButton.h b/Libraries/LibGUI/RadioButton.h
index e22e6ca568..cb03930cea 100644
--- a/Libraries/LibGUI/RadioButton.h
+++ b/Libraries/LibGUI/RadioButton.h
@@ -38,8 +38,8 @@ public:
virtual void click() override;
protected:
- explicit RadioButton(Widget* parent);
- explicit RadioButton(const StringView& text, Widget* parent);
+ explicit RadioButton(Widget* parent = nullptr);
+ explicit RadioButton(const StringView& text, Widget* parent = nullptr);
virtual void paint_event(PaintEvent&) override;
private: