mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 14:45:07 +00:00
LibGUI: Convert GTableView to ObjectPtr
This commit is contained in:
parent
c13b9e2214
commit
e7b55037f4
20 changed files with 27 additions and 26 deletions
|
@ -28,7 +28,7 @@ int main(int argc, char** argv)
|
|||
board_combo->set_preferred_size(0, 20);
|
||||
board_combo->set_model(BoardListModel::create());
|
||||
|
||||
auto* catalog_view = new GTableView(widget);
|
||||
auto catalog_view = GTableView::construct(widget);
|
||||
catalog_view->set_model(ThreadCatalogModel::create());
|
||||
auto& catalog_model = *static_cast<ThreadCatalogModel*>(catalog_view->model());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue