mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibGUI: Don't require passing a parent to widget constructors
This is a step towards using Core::Object::add<T> more, which takes care of parenting the newly created child automatically.
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual ~AbstractTableView() override;
|
||||
explicit AbstractTableView(Widget* parent);
|
||||
explicit AbstractTableView(Widget* parent = nullptr);
|
||||
|
||||
virtual void did_update_model() override;
|
||||
virtual void mouseup_event(MouseEvent&) override;
|
||||
|
||||
Reference in New Issue
Block a user