diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-22 16:16:39 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-22 16:16:39 +0200 |
commit | 17acc1e0a862ed03dd1613851d4f9caec5297a50 (patch) | |
tree | 0aba4ee5577d4788c0702c8f728380137c43a050 /DevTools/VisualBuilder | |
parent | 3b01d7fdff7562b239b4abd34e9cc5f2562e54dd (diff) | |
download | serenity-17acc1e0a862ed03dd1613851d4f9caec5297a50.zip |
VisualBuilder: Fix compiler warnings.
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r-- | DevTools/VisualBuilder/VBWidgetRegistry.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/DevTools/VisualBuilder/VBWidgetRegistry.cpp b/DevTools/VisualBuilder/VBWidgetRegistry.cpp index 6303974854..eaf357af7e 100644 --- a/DevTools/VisualBuilder/VBWidgetRegistry.cpp +++ b/DevTools/VisualBuilder/VBWidgetRegistry.cpp @@ -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; } |