summaryrefslogtreecommitdiff
path: root/Applications/DisplayProperties
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/DisplayProperties
parentefb8f9d538724d5ee7420f055f049498021e7551 (diff)
downloadserenity-4f4438c04c8cd5d52e367d1fda65b469c72c75c4.zip
LibGUI: Convert GSplitter to ObjectPtr
Diffstat (limited to 'Applications/DisplayProperties')
-rw-r--r--Applications/DisplayProperties/DisplayProperties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/DisplayProperties/DisplayProperties.cpp b/Applications/DisplayProperties/DisplayProperties.cpp
index a21caba385..5ccb2f0b13 100644
--- a/Applications/DisplayProperties/DisplayProperties.cpp
+++ b/Applications/DisplayProperties/DisplayProperties.cpp
@@ -94,7 +94,7 @@ void DisplayPropertiesWidget::create_frame()
auto* tab_widget = new GTabWidget(m_root_widget);
// First, let's create the "Background" tab
- auto* background_splitter = new GSplitter(Orientation::Vertical, nullptr);
+ auto background_splitter = GSplitter::construct(Orientation::Vertical, nullptr);
tab_widget->add_widget("Wallpaper", background_splitter);
auto* background_content = new GWidget(background_splitter);
@@ -117,7 +117,7 @@ void DisplayPropertiesWidget::create_frame()
};
// Let's add the settings tab
- auto* settings_splitter = new GSplitter(Orientation::Vertical, nullptr);
+ auto settings_splitter = GSplitter::construct(Orientation::Vertical, nullptr);
tab_widget->add_widget("Settings", settings_splitter);
auto* settings_content = new GWidget(settings_splitter);