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

LibGUI: Convert GTableView to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:03:59 +02:00
parent c13b9e2214
commit e7b55037f4
20 changed files with 27 additions and 26 deletions

View file

@ -50,7 +50,7 @@ int main(int argc, char** argv)
tree_view->set_model(remote_process.object_graph_model());
tree_view->set_activates_on_selection(true);
auto* properties_table_view = new GTableView(splitter);
auto properties_table_view = GTableView::construct(splitter);
properties_table_view->set_size_columns_to_fit_content(true);
tree_view->on_activation = [&](auto& index) {