diff options
Diffstat (limited to 'Libraries/LibGUI/RadioButton.h')
-rw-r--r-- | Libraries/LibGUI/RadioButton.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibGUI/RadioButton.h b/Libraries/LibGUI/RadioButton.h index cb03930cea..77c77ec426 100644 --- a/Libraries/LibGUI/RadioButton.h +++ b/Libraries/LibGUI/RadioButton.h @@ -38,8 +38,7 @@ public: virtual void click() override; protected: - explicit RadioButton(Widget* parent = nullptr); - explicit RadioButton(const StringView& text, Widget* parent = nullptr); + explicit RadioButton(const StringView& text = {}); virtual void paint_event(PaintEvent&) override; private: |