mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibGUI: Convert GScrollBar to ObjectPtr
This commit is contained in:
parent
4616a13e94
commit
bce58bbbca
Notes:
sideshowbarker
2024-07-19 12:02:21 +09:00
Author: https://github.com/awesomekling
Commit: bce58bbbca
7 changed files with 11 additions and 10 deletions
|
@ -74,7 +74,7 @@ static GWidget* build_gwidget(VBWidgetType type, GWidget* parent)
|
|||
case VBWidgetType::GWidget:
|
||||
return new GWidget(parent);
|
||||
case VBWidgetType::GScrollBar:
|
||||
return new GScrollBar(Orientation::Vertical, parent);
|
||||
return GScrollBar::construct(Orientation::Vertical, parent);
|
||||
case VBWidgetType::GGroupBox:
|
||||
return new GGroupBox("groupbox_1", parent);
|
||||
case VBWidgetType::GLabel: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue