summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCWindow.cpp
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 /Applications/IRCClient/IRCWindow.cpp
parentefb8f9d538724d5ee7420f055f049498021e7551 (diff)
downloadserenity-4f4438c04c8cd5d52e367d1fda65b469c72c75c4.zip
LibGUI: Convert GSplitter to ObjectPtr
Diffstat (limited to 'Applications/IRCClient/IRCWindow.cpp')
-rw-r--r--Applications/IRCClient/IRCWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/IRCClient/IRCWindow.cpp b/Applications/IRCClient/IRCWindow.cpp
index 64d0db3063..0c08206e54 100644
--- a/Applications/IRCClient/IRCWindow.cpp
+++ b/Applications/IRCClient/IRCWindow.cpp
@@ -19,7 +19,7 @@ IRCWindow::IRCWindow(IRCClient& client, void* owner, Type type, const String& na
set_layout(make<GBoxLayout>(Orientation::Vertical));
// Make a container for the log buffer view + (optional) member list.
- auto* container = new GSplitter(Orientation::Horizontal, this);
+ auto container = GSplitter::construct(Orientation::Horizontal, this);
m_table_view = GTableView::construct(container);
m_table_view->set_size_columns_to_fit_content(true);