summaryrefslogtreecommitdiff
path: root/DevTools/Inspector
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 16:11:02 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 16:11:02 +0200
commit4f4438c04c8cd5d52e367d1fda65b469c72c75c4 (patch)
treeda99e71981526bb4c30ae119f225bf1bda142a51 /DevTools/Inspector
parentefb8f9d538724d5ee7420f055f049498021e7551 (diff)
downloadserenity-4f4438c04c8cd5d52e367d1fda65b469c72c75c4.zip
LibGUI: Convert GSplitter to ObjectPtr
Diffstat (limited to 'DevTools/Inspector')
-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 c2d20710e5..892f482acb 100644
--- a/DevTools/Inspector/main.cpp
+++ b/DevTools/Inspector/main.cpp
@@ -37,7 +37,7 @@ int main(int argc, char** argv)
widget->set_fill_with_background_color(true);
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
- auto* splitter = new GSplitter(Orientation::Horizontal, widget);
+ auto splitter = GSplitter::construct(Orientation::Horizontal, widget);
RemoteProcess remote_process(pid);