1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:17:36 +00:00

LibGUI: Convert GSplitter to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:11:02 +02:00
parent efb8f9d538
commit 4f4438c04c
7 changed files with 10 additions and 8 deletions

View file

@ -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);