1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

LibGUI: Convert GGroupBox to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:13:04 +02:00
parent 4f4438c04c
commit 83b5f6c11a
5 changed files with 10 additions and 9 deletions

View file

@ -76,7 +76,7 @@ static GWidget* build_gwidget(VBWidgetType type, GWidget* parent)
case VBWidgetType::GScrollBar:
return GScrollBar::construct(Orientation::Vertical, parent);
case VBWidgetType::GGroupBox:
return new GGroupBox("groupbox_1", parent);
return GGroupBox::construct("groupbox_1", parent);
case VBWidgetType::GLabel: {
auto label = GLabel::construct(parent);
label->set_fill_with_background_color(true);