mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +00:00
VisualBuilder: Fix compiler warnings.
This commit is contained in:
parent
3b01d7fdff
commit
17acc1e0a8
1 changed files with 0 additions and 4 deletions
|
@ -106,10 +106,6 @@ GWidget* VBWidgetRegistry::build_gwidget(VBWidget& widget, VBWidgetType type, GW
|
|||
property->set_readonly(true);
|
||||
properties.append(move(property));
|
||||
};
|
||||
auto add_property = [&](const String& name, Function<GVariant(const GWidget&)>&& getter, Function<void(GWidget&, const GVariant&)>&& setter) {
|
||||
auto property = make<VBProperty>(widget, name, move(getter), move(setter));
|
||||
properties.append(move(property));
|
||||
};
|
||||
add_readonly_property("class", to_class_name(type));
|
||||
return gwidget;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue