From c5d913970ab122cdeaf23aea24e65efa6b425ab0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 23 Feb 2020 12:07:13 +0100 Subject: LibGUI: Remove parent parameter to GUI::Widget constructor --- Libraries/LibGUI/RadioButton.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Libraries/LibGUI/RadioButton.h') 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: -- cgit v1.2.3