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:
parent
4f4438c04c
commit
83b5f6c11a
5 changed files with 10 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue