summaryrefslogtreecommitdiff
path: root/DevTools/Inspector/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 16:03:59 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 16:03:59 +0200
commite7b55037f48b8fcddbe283598cad4ef7dcf323f5 (patch)
treea954b20046204aefd0eec325a54bd20bc57060f4 /DevTools/Inspector/main.cpp
parentc13b9e22144ab246355d158448a8f6111b5e0a48 (diff)
downloadserenity-e7b55037f48b8fcddbe283598cad4ef7dcf323f5.zip
LibGUI: Convert GTableView to ObjectPtr
Diffstat (limited to 'DevTools/Inspector/main.cpp')
-rw-r--r--DevTools/Inspector/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/Inspector/main.cpp b/DevTools/Inspector/main.cpp
index 4fc29779ab..d940c1216a 100644
--- a/DevTools/Inspector/main.cpp
+++ b/DevTools/Inspector/main.cpp
@@ -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) {