summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-22 16:16:39 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-22 16:16:39 +0200
commit17acc1e0a862ed03dd1613851d4f9caec5297a50 (patch)
tree0aba4ee5577d4788c0702c8f728380137c43a050 /DevTools/VisualBuilder
parent3b01d7fdff7562b239b4abd34e9cc5f2562e54dd (diff)
downloadserenity-17acc1e0a862ed03dd1613851d4f9caec5297a50.zip
VisualBuilder: Fix compiler warnings.
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r--DevTools/VisualBuilder/VBWidgetRegistry.cpp4
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;
}