mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 20:25:07 +00:00
LibGUI: Remove parent parameter to GUI::Widget constructor
This commit is contained in:
parent
4ce28c32d1
commit
c5d913970a
114 changed files with 207 additions and 313 deletions
|
@ -62,9 +62,9 @@ int main(int argc, char** argv)
|
|||
main_widget->set_fill_with_background_color(true);
|
||||
main_widget->set_layout(make<GUI::VerticalBoxLayout>());
|
||||
|
||||
auto timeline_widget = ProfileTimelineWidget::construct(*profile, main_widget);
|
||||
auto timeline_widget = main_widget->add<ProfileTimelineWidget>(*profile);
|
||||
|
||||
auto tree_view = GUI::TreeView::construct(main_widget);
|
||||
auto tree_view = main_widget->add<GUI::TreeView>();
|
||||
tree_view->set_headers_visible(true);
|
||||
tree_view->set_size_columns_to_fit_content(true);
|
||||
tree_view->set_model(profile->model());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue