mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibGUI: Convert GSplitter to ObjectPtr
This commit is contained in:
parent
efb8f9d538
commit
4f4438c04c
7 changed files with 10 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue