1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

LibGUI: Convert remaining random little things to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 19:39:37 +02:00
parent 81a5c4fc56
commit 409494193e
11 changed files with 15 additions and 13 deletions

View file

@ -107,7 +107,7 @@ int main(int argc, char** argv)
menu->set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
menu->set_preferred_size(200, 0);
auto* stack = new GStackWidget(main_section);
auto stack = GStackWidget::construct(main_section);
stack->set_size_policy(SizePolicy::Fill, SizePolicy::Fill);
for (auto& page : pages) {