mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
VisualBuilder: Convert Vector<OwnPtr> to NonnullOwnPtrVector.
This commit is contained in:
parent
31a2a6ca2d
commit
e2798d6208
5 changed files with 17 additions and 15 deletions
|
@ -125,7 +125,7 @@ static GWidget* build_gwidget(VBWidgetType type, GWidget* parent)
|
|||
}
|
||||
}
|
||||
|
||||
GWidget* VBWidgetRegistry::build_gwidget(VBWidget& widget, VBWidgetType type, GWidget* parent, Vector<OwnPtr<VBProperty>>& properties)
|
||||
GWidget* VBWidgetRegistry::build_gwidget(VBWidget& widget, VBWidgetType type, GWidget* parent, NonnullOwnPtrVector<VBProperty>& properties)
|
||||
{
|
||||
auto* gwidget = ::build_gwidget(type, parent);
|
||||
auto add_readonly_property = [&](const String& name, const GVariant& value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue