diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 16:06:43 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 16:06:43 +0200 |
commit | efb8f9d538724d5ee7420f055f049498021e7551 (patch) | |
tree | 5cb1c63d9c67597dc697b32757f26a5e82597ca7 /DevTools/Inspector | |
parent | e7b55037f48b8fcddbe283598cad4ef7dcf323f5 (diff) | |
download | serenity-efb8f9d538724d5ee7420f055f049498021e7551.zip |
LibGUI: Convert GTreeView to ObjectPtr
Diffstat (limited to 'DevTools/Inspector')
-rw-r--r-- | DevTools/Inspector/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/Inspector/main.cpp b/DevTools/Inspector/main.cpp index d940c1216a..c2d20710e5 100644 --- a/DevTools/Inspector/main.cpp +++ b/DevTools/Inspector/main.cpp @@ -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); |