1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

LibGUI: Convert GTreeView to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:06:43 +02:00
parent e7b55037f4
commit efb8f9d538
3 changed files with 4 additions and 3 deletions

View file

@ -46,7 +46,7 @@ int main(int argc, char** argv)
window->set_title(String::format("Inspector: %s (%d)", remote_process.process_name().characters(), remote_process.pid()));
};
auto* tree_view = new GTreeView(splitter);
auto tree_view = GTreeView::construct(splitter);
tree_view->set_model(remote_process.object_graph_model());
tree_view->set_activates_on_selection(true);