LibGUI: Convert GWidget to ObjectPtr

This commit is contained in:
Andreas Kling
2019-09-21 17:05:35 +02:00
parent e4e92980a1
commit ff6ce422dd
41 changed files with 115 additions and 107 deletions

View File

@@ -19,7 +19,7 @@ GScrollableWidget::GScrollableWidget(GWidget* parent)
update();
};
m_corner_widget = new GWidget(this);
m_corner_widget = GWidget::construct(this);
m_corner_widget->set_fill_with_background_color(true);
}