LibGUI: Remove parent parameter to GUI::Widget constructor

This commit is contained in:
Andreas Kling 2020-02-23 12:07:13 +01:00
commit c5d913970a
Notes: sideshowbarker 2024-07-19 09:08:33 +09:00
114 changed files with 207 additions and 313 deletions

View file

@ -62,8 +62,7 @@ public:
void set_focusable(bool b) { m_focusable = b; }
protected:
Button(const StringView& text, Widget* parent = nullptr);
explicit Button(Widget* parent = nullptr);
explicit Button(const StringView& text = {});
virtual void paint_event(PaintEvent&) override;
private: