diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-23 12:07:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-23 12:27:53 +0100 |
commit | c5d913970ab122cdeaf23aea24e65efa6b425ab0 (patch) | |
tree | 07ef4cb2d039521ec7b1931c707b5196b7ea1628 /Libraries/LibGUI/RadioButton.h | |
parent | 4ce28c32d1813b043758c0d15d5efc17452c2b77 (diff) | |
download | serenity-c5d913970ab122cdeaf23aea24e65efa6b425ab0.zip |
LibGUI: Remove parent parameter to GUI::Widget constructor
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: |