1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

LibGUI: Remove parent parameter to GUI::Widget constructor

This commit is contained in:
Andreas Kling 2020-02-23 12:07:13 +01:00
parent 4ce28c32d1
commit c5d913970a
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: